public class CaseInsensitiveMap extends HashMap<String,Object>
HashMap then the original keys are
copied over and you get the old behavior back using a regular Map with case sensitive keys.
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.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CaseInsensitiveMap() |
CaseInsensitiveMap(int initialCapacity) |
CaseInsensitiveMap(int initialCapacity,
float loadFactor) |
CaseInsensitiveMap(Map<? extends String,?> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
protected Map<String,String> |
getOriginalKeys() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> map) |
Object |
remove(Object key) |
protected Set<Map.Entry<String,Object>> |
superEntrySet() |
equals, hashCode, toStringpublic CaseInsensitiveMap()
public CaseInsensitiveMap(Map<? extends String,?> map)
public CaseInsensitiveMap(int initialCapacity, float loadFactor)
public CaseInsensitiveMap(int initialCapacity)
protected Map<String,String> getOriginalKeys()
protected Set<Map.Entry<String,Object>> superEntrySet()
public void clear()
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class HashMap<String,Object>Apache Camel