| Constructor and Description |
|---|
VolatileHolder()
Construct a VolatileHolder with no value.
|
VolatileHolder(V value)
Construct a VolatileHolder with an initial value.
|
| Modifier and Type | Method and Description |
|---|---|
V |
get()
Return the held object.
|
void |
set(V value)
Specify the held object.
|