# Class ThreadLocal<T>

java.lang.Object
java.lang.ThreadLocal<T>

public class ThreadLocal<T> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThreadLocal()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `get()`
  `protected T`
  `initialValue()`
  `void`
  `remove()`
  `void`
  `set(T value)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ThreadLocal

    public ThreadLocal()

- ## Method Details

  - ### initialValue

    protected T initialValue()

  - ### get

    public T get()

  - ### set

    public void set(T value)

  - ### remove

    public void remove()