Save This Page
Home » jdo2-util-2.3-ea-src » org.apache.jdo.util » [javadoc | source]
org.apache.jdo.util
static class: WeakValueHashMap.WeakValue [javadoc | source]
java.lang.Object
   java.lang.ref.Reference
      java.lang.ref.WeakReference
         org.apache.jdo.util.WeakValueHashMap$WeakValue
We need this special class to keep the backward reference from the value to the key, so that we are able to remove the key if the value is garbage collected.
Fields inherited from java.lang.ref.Reference:
queue,  next
Method from org.apache.jdo.util.WeakValueHashMap$WeakValue Summary:
equals,   hashCode
Methods from java.lang.ref.Reference:
access$100,   access$200,   access$202,   clear,   enqueue,   get,   isEnqueued
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.util.WeakValueHashMap$WeakValue Detail:
 public boolean equals(Object obj) 
    A WeakValue is equal to another WeakValue iff they both refer to objects that are, in turn, equal according to their own equals methods.
 public int hashCode()