Home » openjdk-7 » java » io » [javadoc | source]
java.io
static class: ObjectStreamClass.WeakClassKey [javadoc | source]
java.lang.Object
   java.lang.ref.Reference<T>
      java.lang.ref.WeakReference<?>
         java.io.ObjectStreamClass$WeakClassKey
Weak key for Class objects. *
Fields inherited from java.lang.ref.Reference:
queue,  next
Constructor:
 WeakClassKey(Class<?> cl,
    ReferenceQueue<?> refQueue) 
    Create a new WeakClassKey to the given object, registered with a queue.
Method from java.io.ObjectStreamClass$WeakClassKey Summary:
equals,   hashCode
Methods from java.lang.ref.Reference:
clear,   enqueue,   get,   isEnqueued
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.ObjectStreamClass$WeakClassKey Detail:
 public boolean equals(Object obj) 
    Returns true if the given object is this identical WeakClassKey instance, or, if this object's referent has not been cleared, if the given object is another WeakClassKey instance with the identical non-null referent as this one.
 public int hashCode() 
    Returns the identity hash code of the original referent.