Package com.mchange.v1.lang.holders
Class SynchronizedBooleanHolder
java.lang.Object
com.mchange.v1.lang.holders.SynchronizedBooleanHolder
- All Implemented Interfaces:
ThreadSafeBooleanHolder
Deprecated.
use classes in com.mchange.v2.holders
An implementation of ThreadSafeBooleanHolder that
synchronizes on itself for all acesses and mutations
of the underlying boolean.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SynchronizedBooleanHolder
public SynchronizedBooleanHolder()Deprecated.
-
-
Method Details
-
getValue
public boolean getValue()Deprecated.Description copied from interface:ThreadSafeBooleanHolder
gets the value of the wrapped boolean- Specified by:
getValue
in interfaceThreadSafeBooleanHolder
-
setValue
public void setValue(boolean b) Deprecated.Description copied from interface:ThreadSafeBooleanHolder
sets the value of the wrapped boolean- Specified by:
setValue
in interfaceThreadSafeBooleanHolder
-