Top Fields Constructors Methods
com.mchange.v2.holders

public Class VolatileBooleanHolder

extends Object
implements ThreadSafeBooleanHolder, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, com.mchange.v2.holders.ThreadSafeBooleanHolder
Imports
java.io.*, com.mchange.v2.ser.UnsupportedVersionException

Field Summary

Modifier and TypeField and Description
pack-priv static final long
pack-priv transient volatile boolean
private static final short

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
getValue()

Implements com.mchange.v2.holders.ThreadSafeBooleanHolder.getValue.

gets the value of the wrapped boolean

private void
public void
setValue(boolean value)

Implements com.mchange.v2.holders.ThreadSafeBooleanHolder.setValue.

sets the value of the wrapped boolean

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID
valueback to summary
pack-priv transient volatile boolean value
VERSIONback to summary
private static final short VERSION

Constructor Detail

VolatileBooleanHolderback to summary
public VolatileBooleanHolder()

Method Detail

getValueback to summary
public boolean getValue()

Implements com.mchange.v2.holders.ThreadSafeBooleanHolder.getValue.

Doc from com.mchange.v2.holders.ThreadSafeBooleanHolder.getValue.

gets the value of the wrapped boolean

readObjectback to summary
private void readObject(ObjectInputStream in) throws IOException
setValueback to summary
public void setValue(boolean value)

Implements com.mchange.v2.holders.ThreadSafeBooleanHolder.setValue.

Doc from com.mchange.v2.holders.ThreadSafeBooleanHolder.setValue.

sets the value of the wrapped boolean

writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws IOException