Package org.h2.value
Class CaseInsensitiveMap<V>
- Type Parameters:
V- the value type
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,V>
A hash map with a case-insensitive string key.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionCreates new instance of case-insensitive map.CaseInsensitiveMap(int initialCapacity) Creates new instance of case-insensitive map with specified initial capacity. -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, newHashMap, putAll, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
CaseInsensitiveMap
public CaseInsensitiveMap()Creates new instance of case-insensitive map. -
CaseInsensitiveMap
public CaseInsensitiveMap(int initialCapacity) Creates new instance of case-insensitive map with specified initial capacity.- Parameters:
initialCapacity- the initial capacity
-
-
Method Details
-
get
-
put
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<String,V> - Overrides:
putIfAbsentin classHashMap<String,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,V> - Overrides:
containsKeyin classHashMap<String,V>
-
remove
-