Class AbstractReferenceMap.SoftRef<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference<T>
org.apache.commons.collections4.map.AbstractReferenceMap.SoftRef<T>
- Enclosing class:
AbstractReferenceMap<K,V>
A soft reference holder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe hashCode of the key (even if the reference points to a value) -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
getMethods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
-
Field Details
-
hash
private final int hashThe hashCode of the key (even if the reference points to a value)
-
-
Constructor Details
-
SoftRef
SoftRef(int hash, T r, ReferenceQueue<? super T> q)
-
-
Method Details