Module java.base
Package java.util.concurrent.atomic

# Class AtomicBoolean

=
public class AtomicBoolean
extends java.lang.Object
implements java.io.Serializable

## Constructors

- =
  public AtomicBoolean()
- =
  public AtomicBoolean(boolean arg0)

## Methods

- =
  public final boolean compareAndExchange(boolean arg0, boolean arg1)
- =
  public final boolean compareAndExchangeAcquire(boolean arg0, boolean arg1)
- =
  public final boolean compareAndExchangeRelease(boolean arg0, boolean arg1)
- =
  public final boolean compareAndSet(boolean arg0, boolean arg1)
- =
  public final boolean get()
- =
  public final boolean getAcquire()
- =
  public final boolean getAndSet(boolean arg0)
- =
  public final boolean getOpaque()
- =
  public final boolean getPlain()
- =
  public final void lazySet(boolean arg0)
- =
  public final void set(boolean arg0)
- =
  public final void setOpaque(boolean arg0)
- =
  public final void setPlain(boolean arg0)
- =
  public final void setRelease(boolean arg0)
- =
  public java.lang.String toString()
- =
  @Deprecated(since="9")
  public boolean weakCompareAndSet(boolean arg0, boolean arg1)
- =
  public final boolean weakCompareAndSetAcquire(boolean arg0, boolean arg1)
- =
  public boolean weakCompareAndSetPlain(boolean arg0, boolean arg1)
- =
  public final boolean weakCompareAndSetRelease(boolean arg0, boolean arg1)
- =
  public final boolean weakCompareAndSetVolatile(boolean arg0, boolean arg1)

## Serialized Form

=

### serialVersionUID

=4654671469794556979

### Serialized Fields

- =
  int value

## Summary

No differences.