Class WeakHashMapSafeReadLock.Entry<K,V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<K>
-
- org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock.Entry<K,V>
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
- Enclosing class:
- WeakHashMapSafeReadLock<K,V>
private static class WeakHashMapSafeReadLock.Entry<K,V> extends java.lang.ref.WeakReference<K> implements java.util.Map.Entry<K,V>
The entries in this hash table extend WeakReference, using its main ref field as the key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
K
getKey()
V
getValue()
int
hashCode()
V
setValue(V newValue)
java.lang.String
toString()
-
-
-
Field Detail
-
value
private V value
-
hash
private final int hash
-
next
private WeakHashMapSafeReadLock.Entry<K,V> next
-
-