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, waitgetValuefinal int hash
final E extends MapMakerInternalMap.InternalEntry<K,V,E> next
public K getKey()
MapMakerInternalMap.InternalEntrygetKey in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>public int getHash()
MapMakerInternalMap.InternalEntrygetHash in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>public E getNext()
MapMakerInternalMap.InternalEntrygetNext in interface MapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>