Package ch.njol.util.coll
Class BidiHashMap<T1,T2>
java.lang.Object
java.util.AbstractMap<K,V>
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:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
compute, computeIfAbsent, computeIfPresent, containsKey, forEach, get, getOrDefault, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, sizeMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getReverseViewin interfaceBidiMap<T1,T2>
-
getKey
-
getValue
-
put
-
putAll
-
remove
-
clear
public void clear() -
containsValue
- Specified by:
containsValuein interfaceMap<T1,T2>- Overrides:
containsValuein classHashMap<T1,T2>
-
entrySet
-
keySet
-
values
-
valueSet
-
clone
-