Java.Util.Concurrent.Atomic.AtomicBoolean Members

The members of Java.Util.Concurrent.Atomic.AtomicBoolean are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new AtomicBoolean with initial value false.
Creates a new AtomicBoolean with the given initial value.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.