protected static class Pool.PoolEntry<E> extends WeakInterningHashSet.Entry<E>
Modifier and Type | Field and Description |
---|---|
protected Pool<E> |
pool |
hashCode, next
Constructor and Description |
---|
Pool.PoolEntry(Pool<E> pool,
E object,
int hashCode,
java.lang.ref.ReferenceQueue<java.lang.Object> queue) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Specialized to call
WeakInterningHashSet.Entry.doClear() . |
clear, doClear, getNextEntry, toString
public void clear()
WeakInterningHashSet.Entry
WeakInterningHashSet.Entry.doClear()
.
Derived classes should generally override this method only to impose synchronization.
All the cleaning up of the fields of the entry should be done in WeakInterningHashSet.Entry.doClear()
.clear
in class WeakInterningHashSet.Entry<E>