Class CaseInsensitiveStringMap<V>
java.lang.Object
me.hsgamer.hscore.collections.map.CaseInsensitiveStringMap<V>
- Type Parameters:
V
- the type of the value
- Direct Known Subclasses:
CaseInsensitiveStringHashMap
,CaseInsensitiveStringLinkedMap
String Map but case-insensitive
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCaseInsensitiveStringMap
(Map<String, V> delegate) Create a new case-insensitive map -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
CaseInsensitiveStringMap
Create a new case-insensitive map- Parameters:
delegate
- the background map
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-