Udostępnij za pośrednictwem


AtomicLong.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 long Plain { [Android.Runtime.Register("getPlain", "()J", "", ApiSince=33)] get; [Android.Runtime.Register("setPlain", "(J)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getPlain", "()J", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setPlain", "(J)V", "", ApiSince=33)>]
member this.Plain : int64 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.AtomicLong.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.AtomicLong.setPlain(long).

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