static interface MapMakerInternalMap.WeakValueReference<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
Modifier and Type | Method and Description |
---|---|
void |
clear()
Unsets the referenced value.
|
MapMakerInternalMap.WeakValueReference<K,V,E> |
copyFor(java.lang.ref.ReferenceQueue<V> queue,
E entry)
Returns a freshly created
MapMakerInternalMap.WeakValueReference for the given entry (and on the
given queue with the same value as this MapMakerInternalMap.WeakValueReference . |
V |
get()
Returns the current value being referenced, or
null if there is none (e.g. |
E |
getEntry()
Returns the entry which contains this
MapMakerInternalMap.WeakValueReference . |
V get()
null
if there is none (e.g. because
either it got collected, or clear()
was called, or it wasn't set in the first place).E getEntry()
MapMakerInternalMap.WeakValueReference
.void clear()
get()
will return null
.MapMakerInternalMap.WeakValueReference<K,V,E> copyFor(java.lang.ref.ReferenceQueue<V> queue, E entry)
MapMakerInternalMap.WeakValueReference
for the given entry
(and on the
given queue
with the same value as this MapMakerInternalMap.WeakValueReference
.