public class TwoWayIdentityHashMap<K,V> extends IdentityHashMap<K,V> implements ReversableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TwoWayIdentityHashMap()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsValue(Object value)
Override for efficiency
|
V |
put(K key,
V value) |
V |
remove(Object key) |
K |
reverseGet(V value)
Get the key for a value
|
clone, containsKey, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, size, valuestoStringpublic K reverseGet(V value)
reverseGet in interface ReversableMap<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class IdentityHashMap<K,V>Copyright © 2016. All rights reserved.