Package org.eclipse.epsilon.eol.util
Class IdentityBasedWeakReference
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<java.lang.Object>
-
- org.eclipse.epsilon.eol.util.IdentityBasedWeakReference
-
public class IdentityBasedWeakReference extends java.lang.ref.WeakReference<java.lang.Object>
Weak reference which can be used as a key of an identity-based map.
-
-
Constructor Summary
Constructors Constructor Description IdentityBasedWeakReference(java.lang.Object referent, java.lang.ref.ReferenceQueue<java.lang.Object> referenceQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-