gnu.kawa.util
Class AbstractWeakHashTable.WEntry<K,V>

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<V>
          extended by gnu.kawa.util.AbstractWeakHashTable.WEntry<K,V>
All Implemented Interfaces:
java.util.Map.Entry<K,V>
Enclosing class:
AbstractWeakHashTable<K,V>

public static class AbstractWeakHashTable.WEntry<K,V>
extends java.lang.ref.WeakReference<V>
implements java.util.Map.Entry<K,V>


Field Summary
 int hash
           
 AbstractWeakHashTable.WEntry next
           
 
Constructor Summary
AbstractWeakHashTable.WEntry(V value, AbstractWeakHashTable<K,V> htable, int hash)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 V setValue(V value)
           
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

next

public AbstractWeakHashTable.WEntry next

hash

public int hash
Constructor Detail

AbstractWeakHashTable.WEntry

public AbstractWeakHashTable.WEntry(V value,
                                    AbstractWeakHashTable<K,V> htable,
                                    int hash)
Method Detail

getKey

public K getKey()
Specified by:
getKey in interface java.util.Map.Entry<K,V>

getValue

public V getValue()
Specified by:
getValue in interface java.util.Map.Entry<K,V>

setValue

public V setValue(V value)
Specified by:
setValue in interface java.util.Map.Entry<K,V>