Liferay 6.0.5

com.liferay.portal.kernel.memory
Class EqualityWeakReference<T>

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<T>
          extended by com.liferay.portal.kernel.memory.EqualityWeakReference<T>

public class EqualityWeakReference<T>
extends WeakReference<T>


Constructor Summary
EqualityWeakReference(T referent)
           
EqualityWeakReference(T referent, ReferenceQueue<? super T> referenceQueue)
           
 
Method Summary
 boolean equals(Object obj)
           
 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

EqualityWeakReference

public EqualityWeakReference(T referent)

EqualityWeakReference

public EqualityWeakReference(T referent,
                             ReferenceQueue<? super T> referenceQueue)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Liferay 6.0.5