Class CaseInsensitiveMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<String,Object>
org.apache.camel.util.CaseInsensitiveMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, NavigableMap<String,Object>, SortedMap<String,Object>

public class CaseInsensitiveMap extends TreeMap<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: