Class AbstractReferenceMap.WeakRef<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.apache.commons.collections4.map.AbstractReferenceMap.WeakRef<T>
- Enclosing class:
AbstractReferenceMap<K,V>
A weak 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.Reference
clear, enqueue, get, isEnqueued
-
Field Details
-
hash
private final int hashThe hashCode of the key (even if the reference points to a value)
-
-
Constructor Details
-
WeakRef
WeakRef(int hash, T r, ReferenceQueue<? super T> q)
-
-
Method Details