K
- 键类型V
- 值类型public class BiMap<K,V> extends MapWrapper<K,V>
DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR
Modifier and Type | Method and Description |
---|---|
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) |
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, getRaw, hashCode, isEmpty, iterator, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
Copyright © 2021. All rights reserved.