public final class VolatileBoolean
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
value |
| Constructor and Description |
|---|
VolatileBoolean() |
VolatileBoolean(boolean v) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareAndSet(boolean expect,
boolean update) |
boolean |
get() |
void |
lazySet(boolean newV) |
void |
set(boolean newV) |