Package org.javalite.common
Class CaseInsensitiveMap<V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<String,V>
-
- org.javalite.common.CaseInsensitiveMap<V>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,V>,NavigableMap<String,V>,SortedMap<String,V>
public class CaseInsensitiveMap<V> extends TreeMap<String,V>
A case insensitive map forjava.lang.Stringkeys. The current implementation is based onTreeMap, so it does not acceptnullkeys and keeps entries ordered by case insensitive alphabetical order of keys.- Author:
- Eric Nielsen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveMap()CaseInsensitiveMap(Map<? extends String,V> m)
-
Method Summary
-
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
-