V
- Type of values placed in this Map.public class CaseInsensitiveKeyMap<V>
extends java.util.AbstractMap<java.lang.String,V>
Locale.ENGLISH
) strings as keys.
Keys must be instances of String
. Note that this means that
null
keys are not permitted.
This implementation is not thread-safe.
Constructor and Description |
---|
CaseInsensitiveKeyMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.Object key) |
java.util.Set<java.util.Map.Entry<java.lang.String,V>> |
entrySet() |
V |
get(java.lang.Object key) |
V |
put(java.lang.String key,
V value) |
void |
putAll(java.util.Map<? extends java.lang.String,? extends V> m)
Use this method with caution.
|
V |
remove(java.lang.Object key) |
public V get(java.lang.Object key)
public void putAll(java.util.Map<? extends java.lang.String,? extends V> m)
Use this method with caution. If the input Map contains duplicate keys when the keys are compared in a case insensitive manner then some values will be lost when inserting via this method.
public boolean containsKey(java.lang.Object key)
public V remove(java.lang.Object key)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.