Class ThreadLocal4<T>


  • public class ThreadLocal4<T>
    extends java.lang.Object
    ThreadLocal implementation for less capable platforms such as JRE 1.1 and Silverlight. This class is not intended to be used directly, use DynamicVariable. WARNING: This implementation might leak Thread references unless set(Object) is called with null on the right thread to clean it up. This behavior is currently guaranteed by DynamicVariable.
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadLocal4()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      protected T initialValue()  
      void set​(T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadLocal4

        public ThreadLocal4()
    • Method Detail

      • set

        public void set​(T value)
      • get

        public T get()
      • initialValue

        protected final T initialValue()