| Modifier and Type | Field and Description |
|---|---|
private java.lang.ThreadLocal<Value<? extends T>> |
threadLocal |
| Constructor and Description |
|---|
ThreadLocalValue()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Value<? extends T> |
getAndSetValue(Value<? extends T> newValue)
Get and set the value.
|
T |
getValue()
Get the actual value.
|
void |
setValue(Value<? extends T> newValue)
Set this value, replacing any current value.
|