abstract static class MapMakerInternalMap.AbstractWeakKeyEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>> extends java.lang.ref.WeakReference<K> implements MapMakerInternalMap.InternalEntry<K,V,E>
MapMakerInternalMap.InternalEntry
implementations for weak keys.Modifier and Type | Field and Description |
---|---|
(package private) int |
hash |
(package private) E |
next |
Constructor and Description |
---|
AbstractWeakKeyEntry(java.lang.ref.ReferenceQueue<K> queue,
K key,
int hash,
E next) |
Modifier and Type | Method and Description |
---|---|
int |
getHash()
Gets the entry's hash.
|
K |
getKey()
Gets the key for this entry.
|
E |
getNext()
Gets the next entry in the chain.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue
final int hash
final E extends MapMakerInternalMap.InternalEntry<K,V,E> next
public K getKey()
MapMakerInternalMap.InternalEntry
getKey
in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
public int getHash()
MapMakerInternalMap.InternalEntry
getHash
in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
public E getNext()
MapMakerInternalMap.InternalEntry
getNext
in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>