Java.Util.Concurrent.Atomic.AtomicBoolean: Method Members

The methods of Java.Util.Concurrent.Atomic.AtomicBoolean are listed below. For a list of all members, see the AtomicBoolean Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

CompareAndSet(bool, bool) : bool
Atomically sets the value to the given updated value if the current value == the expected value.
Get() : bool
Returns the current value.
GetAndSet(bool) : bool
Atomically sets to the given value and returns the previous value.
LazySet(bool)
Eventually sets to the given value.
Set(bool)
Unconditionally sets to the given value.
WeakCompareAndSet(bool, bool) : bool
Atomically sets the value to the given updated value if the current value == the expected value.