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(since="2.10.0",
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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, 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 TypeMethodDescriptionvoidclear()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.booleancontainsValue(@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.voidDeprecated, 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 HashMap
compute, computeIfAbsent, computeIfPresent, containsKey, forEach, get, getOrDefault, isEmpty, merge, newHashMap, putIfAbsent, remove, replace, replace, replaceAll, sizeMethods inherited from class AbstractMap
equals, hashCode, toStringMethods inherited from interface 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
-
-
Method Details
-
getReverseView
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getReverseViewin interfaceBidiMap<T1,T2>
-
getKey
-
getValue
-
put
-
putAll
-
remove
-
clear
-
containsValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsValuein interfaceMap<T1,T2> - Overrides:
containsValuein classHashMap<T1,T2>
-
entrySet
-
keySet
-
values
-
valueSet
-
clone
-
BiMapinstead.