Class ReferenceMap<K,V>
java.lang.Object
io.netty.handler.codec.serialization.ReferenceMap<K,V>
- All Implemented Interfaces:
java.util.Map<K,V>
- Direct Known Subclasses:
SoftReferenceMap, WeakReferenceMap
abstract class ReferenceMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReferenceMap(java.util.Map<K, java.lang.ref.Reference<V>> delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(java.lang.Object key) booleancontainsValue(java.lang.Object value) entrySet()(package private) abstract java.lang.ref.Reference<V> get(java.lang.Object key) booleanisEmpty()java.util.Set<K> keySet()voidremove(java.lang.Object key) intsize()private Vjava.util.Collection<V> values()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
-
Field Details
-
delegate
-
-
Constructor Details
-
ReferenceMap
-
-
Method Details
-
fold
-
unfold
-
size
-
isEmpty
-
containsKey
-
containsValue
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-