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 for java.lang.String keys. The current implementation is based on TreeMap, so it does not accept null keys and keeps entries ordered by case insensitive alphabetical order of keys.
Author:
Eric Nielsen
See Also:
Serialized Form
  • Constructor Details

    • CaseInsensitiveMap

      public CaseInsensitiveMap()
    • CaseInsensitiveMap

      public CaseInsensitiveMap(Map<? extends String,​V> m)