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 |
|---|
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, toStringpublic void clear()
WeakInterningHashSet.EntryWeakInterningHashSet.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>Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature