public class AtomicBoolean
- Object
- AtomicBoolean
ImplementsSerializable
CLDC11 subset stub. Compile-time visible only; the actual runtime
implementation comes from the platform (the Android JDK on Android,
vm/JavaAPI on ParparVM, the host JDK in the JavaSE simulator).Constructors
public AtomicBoolean(boolean initialValue) | |
public AtomicBoolean() |
Methods
Inherited methods
Constructor details
AtomicBoolean
public AtomicBoolean(boolean initialValue)AtomicBoolean
public AtomicBoolean()Method details
get
public final boolean get()set
public final void set(boolean newValue)lazySet
public final void lazySet(boolean newValue)getAndSet
public final boolean getAndSet(boolean newValue)compareAndSet
public final boolean compareAndSet(boolean expect, boolean update)weakCompareAndSet
public final boolean weakCompareAndSet(boolean expect, boolean update)