Compartir a través de


AtomicReference.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 Java.Lang.Object? Plain { [Android.Runtime.Register("getPlain", "()Ljava/lang/Object;", "", ApiSince=33)] get; [Android.Runtime.Register("setPlain", "(Ljava/lang/Object;)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getPlain", "()Ljava/lang/Object;", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setPlain", "(Ljava/lang/Object;)V", "", ApiSince=33)>]
member this.Plain : Java.Lang.Object 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.AtomicReference.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.AtomicReference.setPlain(V).

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