K - 键类型V - 值类型public class BiMap<K,V> extends MapWrapper<K,V>
DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
Map<V,K> |
getInverse()
获取反向Map
|
K |
getKey(V value)
根据值获得键
|
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, getRaw, hashCode, isEmpty, iterator, keySet, merge, putIfAbsent, replace, replace, replaceAll, size, toString, valuesforEach, spliteratorCopyright © 2022. All rights reserved.