T
- the value typepublic final class ThreadLocalValue<T> extends java.lang.Object implements Value<T>
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.
|
Copyright © 2012 JBoss, a division of Red Hat, Inc.