cascading.lingual.util
Class InsensitiveMap<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<String,V>
          extended by cascading.lingual.util.InsensitiveMap<V>
All Implemented Interfaces:
Serializable, Cloneable, Map<String,V>, NavigableMap<String,V>, SortedMap<String,V>

public class InsensitiveMap<V>
extends TreeMap<String,V>

Utility for force case-insensitivity, also eases json deserialization as there is a target class to instantiate

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
InsensitiveMap()
           
 
Method Summary
 V get(Object key)
           
 V put(String key, V value)
           
 
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, remove, 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
equals, hashCode, isEmpty
 

Constructor Detail

InsensitiveMap

public InsensitiveMap()
Method Detail

get

public V get(Object key)
Specified by:
get in interface Map<String,V>
Overrides:
get in class TreeMap<String,V>

put

public V put(String key,
             V value)
Specified by:
put in interface Map<String,V>
Overrides:
put in class TreeMap<String,V>


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.