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>
@Deprecated(forRemoval=true)
public class BidiHashMap<T1,T2>
extends HashMap<T1,T2>
implements BidiMap<T1,T2>
Deprecated, for removal: This API element is subject to removal in a future version.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.BidiHashMap
(Map<? extends T1, ? extends T2> values) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Deprecated, for removal: This API element is subject to removal in a future version.clone()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
containsValue
(@Nullable Object value) Deprecated, for removal: This API element is subject to removal in a future version.entrySet()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.keySet()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.values()
Deprecated, for removal: This API element is subject to removal in a future version.valueSet()
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version. -
BidiHashMap
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getReverseView
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getReverseView
in interfaceBidiMap<T1,
T2>
-
getKey
Deprecated, for removal: This API element is subject to removal in a future version. -
getValue
Deprecated, for removal: This API element is subject to removal in a future version. -
put
Deprecated, for removal: This API element is subject to removal in a future version. -
putAll
Deprecated, for removal: This API element is subject to removal in a future version. -
remove
Deprecated, for removal: This API element is subject to removal in a future version. -
clear
public void clear()Deprecated, for removal: This API element is subject to removal in a future version. -
containsValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsValue
in interfaceMap<T1,
T2> - Overrides:
containsValue
in classHashMap<T1,
T2>
-
entrySet
Deprecated, for removal: This API element is subject to removal in a future version. -
keySet
Deprecated, for removal: This API element is subject to removal in a future version. -
values
Deprecated, for removal: This API element is subject to removal in a future version. -
valueSet
Deprecated, for removal: This API element is subject to removal in a future version. -
clone
Deprecated, for removal: This API element is subject to removal in a future version.
-
BiMap