AtomicBoolean.Plain Property

Definition

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile. -or- Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

public bool Plain { [Android.Runtime.Register("getPlain", "()Z", "", ApiSince=33)] get; [Android.Runtime.Register("setPlain", "(Z)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getPlain", "()Z", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setPlain", "(Z)V", "", ApiSince=33)>]
member this.Plain : bool with get, set

Property Value

the value

Attributes

Remarks

Property getter documentation:

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicBoolean.getPlain().

Property setter documentation:

Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicBoolean.setPlain(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to