SynchronizedBooleanHolder
, VolatileBooleanHolder
public interface ThreadSafeBooleanHolder
SynchronizedBooleanHolder
,
VolatileBooleanHolder
Modifier and Type | Method | Description |
---|---|---|
boolean |
getValue() |
gets the value of the wrapped boolean
|
void |
setValue(boolean b) |
sets the value of the wrapped boolean
|