public class CaseInsensitiveStringMap<V> extends Object implements ConcurrentMap<String,V>
ConcurrentHashMap which pretends to map strings to objects but treats them
case-insensitively!| Constructor and Description |
|---|
CaseInsensitiveStringMap() |
CaseInsensitiveStringMap(int initialCapacity) |
CaseInsensitiveStringMap(int initialCapacity,
float loadFactor) |
CaseInsensitiveStringMap(int initialCapacity,
float loadFactor,
int concurrencyLevel) |
CaseInsensitiveStringMap(Map<String,V> m) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
V |
put(String key,
V value) |
void |
putAll(Map<? extends String,? extends V> m) |
V |
putIfAbsent(String key,
V value) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
V |
replace(String key,
V value) |
boolean |
replace(String key,
V oldValue,
V newValue) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic CaseInsensitiveStringMap()
public CaseInsensitiveStringMap(int initialCapacity)
public CaseInsensitiveStringMap(int initialCapacity,
float loadFactor)
public CaseInsensitiveStringMap(int initialCapacity,
float loadFactor,
int concurrencyLevel)
public boolean containsKey(Object key)
containsKey in interface Map<String,V>public boolean containsValue(Object value)
containsValue in interface Map<String,V>public V putIfAbsent(String key, V value)
putIfAbsent in interface ConcurrentMap<String,V>putIfAbsent in interface Map<String,V>Copyright © 2017 SAP SE. All Rights Reserved.