public class BiHashMap<K,V> extends HashMap<K,V> implements BiMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BiHashMap() |
BiHashMap(int inInitialSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsValue(Object inValue) |
K |
getKey(V inValue)
Performs a reverse lookup on the Map.
|
V |
put(K inKey,
V inValue) |
void |
putAll(Map<? extends K,? extends V> inValues) |
V |
putIfAbsent(K inKey,
V inValue) |
V |
remove(Object inKey) |
V |
replace(K inKey,
V inValue) |
clone, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, remove, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, remove, replace, replaceAll, size, values
public V putIfAbsent(K inKey, V inValue)
putIfAbsent
in interface Map<K,V>
putIfAbsent
in class HashMap<K,V>
public void clear()
public boolean containsValue(Object inValue)
containsValue
in interface Map<K,V>
containsValue
in class HashMap<K,V>
jataylor@hairyfatguy.com