Class CaseInsensitiveMap<V>

java.lang.Object
java.util.AbstractMap<String,V>
com.stripe.util.CaseInsensitiveMap<V>
All Implemented Interfaces:
Serializable, Cloneable, Map<String,V>

public class CaseInsensitiveMap<V> extends AbstractMap<String,V> implements Map<String,V>, Cloneable, Serializable
A case-insensitive Map.

All keys are expected to be strings (though null is a valid key). The map remembers the case of the last key to be set, and Map.keySet() or Map.entrySet() will contain case-sensitive keys. However, querying and contains testing is case insensitive.

See Also: