com.mchange.v2.holders
Class VolatileBooleanHolder

java.lang.Object
  extended by com.mchange.v2.holders.VolatileBooleanHolder
All Implemented Interfaces:
ThreadSafeBooleanHolder, Serializable

public class VolatileBooleanHolder
extends Object
implements ThreadSafeBooleanHolder, Serializable

See Also:
Serialized Form

Constructor Summary
VolatileBooleanHolder()
           
 
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
 

Constructor Detail

VolatileBooleanHolder

public VolatileBooleanHolder()
Method Detail

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