Save This Page
Home » openjdk-7 » java » lang » [javadoc | source]
java.lang
static class: ThreadLocal.ThreadLocalMap.Entry [javadoc | source]
java.lang.Object
   java.lang.ref.Reference
      java.lang.ref.WeakReference
         java.lang.ThreadLocal$ThreadLocalMap$Entry
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.
Field Summary
 Object value    The value associated with this ThreadLocal. 
Fields inherited from java.lang.ref.Reference:
queue,  next
Constructor:
 Entry(ThreadLocal k,
    Object v) 
Methods from java.lang.ref.Reference:
clear,   enqueue,   get,   isEnqueued
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait