|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ref.Reference<T> java.lang.ref.WeakReference<E> org.eclipse.internal.xtend.util.WeakInterningHashSet.Entry<E>
protected static class WeakInterningHashSet.Entry<E>
A weak reference holder that caches the hash code of the referent and is chained in the WeakInterningHashSet.entries
to handle
collisions.
Field Summary | |
---|---|
int |
hashCode
The cached hash code. |
WeakInterningHashSet.Entry<E> |
next
The next entry in the collision chain. |
Constructor Summary | |
---|---|
WeakInterningHashSet.Entry(E object,
int hashCode,
java.lang.ref.ReferenceQueue<? super E> q)
Creates an entry thats part of the set's WeakInterningHashSet.queue . |
Method Summary | |
---|---|
WeakInterningHashSet.Entry<E> |
getNextEntry()
Returns the next entry in the collision chain with the same hashCode . |
java.lang.String |
toString()
Returns the string value of the referent . |
Methods inherited from class java.lang.ref.Reference |
---|
clear, enqueue, get, isEnqueued |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int hashCode
public WeakInterningHashSet.Entry<E> next
Constructor Detail |
---|
public WeakInterningHashSet.Entry(E object, int hashCode, java.lang.ref.ReferenceQueue<? super E> q)
WeakInterningHashSet.queue
.
Method Detail |
---|
public WeakInterningHashSet.Entry<E> getNextEntry()
hashCode
.
public java.lang.String toString()
referent
.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |