com.mchange.v2.holders
Class VolatileBooleanHolder
java.lang.Object
com.mchange.v2.holders.VolatileBooleanHolder
- All Implemented Interfaces:
- ThreadSafeBooleanHolder, Serializable
public class VolatileBooleanHolder
- extends Object
- implements ThreadSafeBooleanHolder, Serializable
- See Also:
- Serialized Form
Method Summary |
boolean |
getValue()
gets the value of the wrapped boolean |
void |
setValue(boolean value)
sets the value of the wrapped boolean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VolatileBooleanHolder
public VolatileBooleanHolder()
getValue
public boolean getValue()
- Description copied from interface:
ThreadSafeBooleanHolder
- gets the value of the wrapped boolean
- Specified by:
getValue
in interface ThreadSafeBooleanHolder
setValue
public void setValue(boolean value)
- Description copied from interface:
ThreadSafeBooleanHolder
- sets the value of the wrapped boolean
- Specified by:
setValue
in interface ThreadSafeBooleanHolder