public class SynchronizedBooleanHolder extends java.lang.Object implements ThreadSafeBooleanHolder
VolatileBooleanHolder
Constructor and Description |
---|
SynchronizedBooleanHolder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getValue()
Deprecated.
gets the value of the wrapped boolean
|
void |
setValue(boolean b)
Deprecated.
sets the value of the wrapped boolean
|
public boolean getValue()
ThreadSafeBooleanHolder
getValue
in interface ThreadSafeBooleanHolder
public void setValue(boolean b)
ThreadSafeBooleanHolder
setValue
in interface ThreadSafeBooleanHolder