net.craftforge.commons.collections
Class CaseInsensitiveMap<V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,V>
net.craftforge.commons.collections.CaseInsensitiveMap<V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,V>
public class CaseInsensitiveMap<V>
- extends HashMap<String,V>
A map for case-insensitive String keys.
- Since:
- 07.07.11
- Author:
- Christian Bick
- See Also:
- Serialized Form
CaseInsensitiveMap
public CaseInsensitiveMap()
put
public V put(String key,
V value)
-
The key is case-insensitive.
- Specified by:
put in interface Map<String,V>- Overrides:
put in class HashMap<String,V>
get
public V get(Object key)
-
The key is case-insensitive.
- Specified by:
get in interface Map<String,V>- Overrides:
get in class HashMap<String,V>
containsKey
public boolean containsKey(Object key)
-
The key is case-insensitive.
- Specified by:
containsKey in interface Map<String,V>- Overrides:
containsKey in class HashMap<String,V>
Copyright © 2011. All Rights Reserved.