java.lang
Class ThreadLocal.ThreadLocalMap.Entry
java.lang.Object
java.lang.ref.Reference
java.lang.ref.WeakReference
java.lang.ThreadLocal.ThreadLocalMap.Entry
- Enclosing class:
- ThreadLocal.ThreadLocalMap
- private static class ThreadLocal.ThreadLocalMap.Entry
- extends WeakReference
The entries in this hash map extend WeakReference, using
its main ref field as the key (which is always a
ThreadLocal object). Note that null keys (i.e. entry.get()
== null) mean that the key is no longer referenced, so the
entry can be expunged from table. Such entries are referred to
as "stale entries" in the code that follows.
Nested classes inherited from class java.lang.ref.Reference |
|
Field Summary |
private Object |
value
The value associated with this ThreadLocal. |
Fields inherited from class java.lang.ref.Reference |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private Object value
- The value associated with this ThreadLocal.
ThreadLocal.ThreadLocalMap.Entry
private ThreadLocal.ThreadLocalMap.Entry(ThreadLocal k,
Object v)