Package org.redisson.misc
Class BiHashMap<K,V>
- java.lang.Object
-
- org.redisson.misc.BiHashMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description BiHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<K,V>>entrySet()Vget(Object key)booleanisEmpty()Collection<K>keys()Set<K>keySet()voidmakeImmutable()Vput(K key, V value)voidputAll(Map<? extends K,? extends V> m)Vremove(Object key)Set<Map.Entry<V,K>>reverseEntrySet()KreverseGet(Object key)intsize()Collection<V>values()Set<V>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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<K,V>
-
keys
public Collection<K> keys()
-
makeImmutable
public void makeImmutable()
-
-