Java API Tutorial - AtomicBoolean Example








Constructor

  1. Java AtomicBoolean() Constructor
  2. Java AtomicBoolean(boolean initialValue) Constructor

Method

  1. Java AtomicBoolean .compareAndSet (boolean expect, boolean update)
  2. Java AtomicBoolean.get()
  3. Java AtomicBoolean .getAndSet (boolean newValue)
  4. Java AtomicBoolean.lazySet(boolean newValue)
  5. Java AtomicBoolean.set(boolean newValue)
  6. Java AtomicBoolean.toString()
  7. Java AtomicBoolean .weakCompareAndSet (boolean expect, boolean update)