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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keys()
keySet()
void
void
reverseGet
(Object key) int
size()
values()
valueSet()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
get
-
reverseGet
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
valueSet
-
values
-
keys
-
entrySet
-
reverseEntrySet
-
makeImmutable
public void makeImmutable()
-