Package gnu.kawa.util
Class AbstractWeakHashTable.WEntry<K,V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<V>
-
- gnu.kawa.util.AbstractWeakHashTable.WEntry<K,V>
-
- All Implemented Interfaces:
Map.Entry<K,V>
- Enclosing class:
- AbstractWeakHashTable<K,V>
public static class AbstractWeakHashTable.WEntry<K,V> extends WeakReference<V> implements Map.Entry<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description int
hash
AbstractWeakHashTable.WEntry
next
-
Constructor Summary
Constructors Constructor Description WEntry(V value, AbstractWeakHashTable<K,V> htable, int hash)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
V
getValue()
V
setValue(V value)
-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence
-
-
-
-
Field Detail
-
next
public AbstractWeakHashTable.WEntry next
-
hash
public int hash
-
-
Constructor Detail
-
WEntry
public WEntry(V value, AbstractWeakHashTable<K,V> htable, int hash)
-
-