static final class MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> extends MapMakerInternalMap.AbstractWeakKeyEntry<K,V,MapMakerInternalMap.WeakKeyStrongValueEntry<K,V>> implements MapMakerInternalMap.StrongValueEntry<K,V,MapMakerInternalMap.WeakKeyStrongValueEntry<K,V>>
MapMakerInternalMap.InternalEntry
for weak keys and strong values.Modifier and Type | Class and Description |
---|---|
(package private) static class |
MapMakerInternalMap.WeakKeyStrongValueEntry.Helper<K,V>
Concrete implementation of
MapMakerInternalMap.InternalEntryHelper for weak keys and strong values. |
Modifier and Type | Field and Description |
---|---|
private V |
value |
hash, next
Constructor and Description |
---|
WeakKeyStrongValueEntry(java.lang.ref.ReferenceQueue<K> queue,
K key,
int hash,
MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> next) |
Modifier and Type | Method and Description |
---|---|
(package private) MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> |
copy(java.lang.ref.ReferenceQueue<K> queueForKeys,
MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> newNext) |
V |
getValue()
Gets the value for the entry.
|
(package private) void |
setValue(V value) |
getHash, getKey, getNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHash, getKey, getNext
@Nullable private volatile V value
WeakKeyStrongValueEntry(java.lang.ref.ReferenceQueue<K> queue, K key, int hash, @Nullable MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> next)
@Nullable public V getValue()
MapMakerInternalMap.InternalEntry
getValue
in interface MapMakerInternalMap.InternalEntry<K,V,MapMakerInternalMap.WeakKeyStrongValueEntry<K,V>>
void setValue(V value)
MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> copy(java.lang.ref.ReferenceQueue<K> queueForKeys, MapMakerInternalMap.WeakKeyStrongValueEntry<K,V> newNext)