Package org.redisson.misc
Class BiHashMap<K,V>
java.lang.Object
org.redisson.misc.BiHashMap<K,V>
- Type Parameters:
K- keyV- value
- All Implemented Interfaces:
Map<K,V>
This is not a concurrent map.
- Author:
- Rui Gu (https://github.com/jackygurui)
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keys()keySet()voidvoidreverseGet(Object key) intsize()values()valueSet()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
BiHashMap
public BiHashMap()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
reverseGet
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
valueSet
-
values
-
keys
-
entrySet
-
reverseEntrySet
-
makeImmutable
public void makeImmutable()
-