org.aspectbench.tm.runtime.internal
Class MyWeakRef

java.lang.Object
  extended byjava.lang.ref.Reference
      extended byjava.lang.ref.WeakReference
          extended byorg.aspectbench.tm.runtime.internal.MyWeakRef

public class MyWeakRef
extends java.lang.ref.WeakReference


Constructor Summary
MyWeakRef(java.lang.Object arg0)
           
MyWeakRef(java.lang.Object arg0, java.lang.ref.ReferenceQueue arg1)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          A MyWeakRef is equal to an Object if either the Object is a MyWeakRef and there's reference equality between the referents, or the Object isn't a MyWeakRef, and there's reference equality between that object and the referent of this MyWeakRef.
 int hashCode()
           
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyWeakRef

public MyWeakRef(java.lang.Object arg0)

MyWeakRef

public MyWeakRef(java.lang.Object arg0,
                 java.lang.ref.ReferenceQueue arg1)
Method Detail

equals

public boolean equals(java.lang.Object obj)
A MyWeakRef is equal to an Object if either the Object is a MyWeakRef and there's reference equality between the referents, or the Object isn't a MyWeakRef, and there's reference equality between that object and the referent of this MyWeakRef.


hashCode

public int hashCode()