Package org.apache.camel.util
Class CaseInsensitiveMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,Object> NavigableMap<String,
,Object> SortedMap<String,
Object>
A map that uses case insensitive keys, but preserves the original key cases.
The map is based on
TreeMap
and therefore uses O(n) for lookup and not O(1) as a HashMap
does.
This map is not designed to be thread safe as concurrent access to it is not supposed to be performed by the
Camel routing engine.- See Also:
-
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
-
Method Summary
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
CaseInsensitiveMap
public CaseInsensitiveMap() -
CaseInsensitiveMap
-