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> -
Field Summary
Fields -
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, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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:
putIfAbsent
in interfaceMap<String,
V> - Overrides:
putIfAbsent
in classHashMap<String,
V>
-
containsKey
- Specified by:
containsKey
in interfaceMap<String,
V> - Overrides:
containsKey
in classHashMap<String,
V>
-
remove
-