Package de.hybris.platform.util
Class HybrisWeakReference
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
de.hybris.platform.util.HybrisWeakReference
This subclass of WeakReference does implement equals and hashCode so it can be used in sets. The hashCode is taken
from the references Object at creation time so it is fixed. Equals compares the hashCode which is the hashCode of the
referenced object.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo