Package ch.njol.util.coll
Class BidiHashMap<T1,T2>
java.lang.Object
java.util.AbstractMap<T1,T2>
java.util.HashMap<T1,T2>
ch.njol.util.coll.BidiHashMap<T1,T2>
- All Implemented Interfaces:
BidiMap<T1,
,T2> Serializable
,Cloneable
,Map<T1,
T2>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.HashMap
compute, computeIfAbsent, computeIfPresent, containsKey, forEach, get, getOrDefault, isEmpty, merge, newHashMap, putIfAbsent, remove, replace, replace, replaceAll, size
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size
-
Constructor Details
-
BidiHashMap
public BidiHashMap() -
BidiHashMap
-
-
Method Details
-
getReverseView
- Specified by:
getReverseView
in interfaceBidiMap<T1,
T2>
-
getKey
-
getValue
-
put
-
putAll
-
remove
-
clear
public void clear() -
containsValue
- Specified by:
containsValue
in interfaceMap<T1,
T2> - Overrides:
containsValue
in classHashMap<T1,
T2>
-
entrySet
-
keySet
-
values
-
valueSet
-
clone
-