Package gnu.kawa.util
Class WeakHashNode<K,V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<K>
-
- gnu.kawa.util.WeakHashNode<K,V>
-
- All Implemented Interfaces:
Map.Entry<K,V>
public class WeakHashNode<K,V> extends WeakReference<K> implements Map.Entry<K,V>
-
-
Constructor Summary
Constructors Constructor Description WeakHashNode(K key, ReferenceQueue<K> q, 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 WeakHashNode<K,V> next
-
hash
public int hash
-
value
public V value
-
-
Constructor Detail
-
WeakHashNode
public WeakHashNode(K key, ReferenceQueue<K> q, int hash)
-
-