AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
CaseInsensitiveMap()
Creates new instance of case-insensitive map.
|
CaseInsensitiveMap(int initialCapacity)
Creates new instance of case-insensitive map with specified initial
capacity.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsKey(Object key) |
V |
get(Object key) |
V |
put(String key,
V value) |
V |
putIfAbsent(String key,
V value) |
V |
remove(Object key) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic CaseInsensitiveMap()
public CaseInsensitiveMap(int initialCapacity)
initialCapacity - the initial capacitypublic V putIfAbsent(String key, V value)
putIfAbsent 在接口中 Map<String,V>putIfAbsent 在类中 HashMap<String,V>public boolean containsKey(Object key)
containsKey 在接口中 Map<String,V>containsKey 在类中 HashMap<String,V>Copyright © 2022. All rights reserved.