Share via


AtomicLongArray.GetPlain(Int32) Method

Definition

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

[Android.Runtime.Register("getPlain", "(I)J", "", ApiSince=33)]
public long GetPlain (int i);
[<Android.Runtime.Register("getPlain", "(I)J", "", ApiSince=33)>]
member this.GetPlain : int -> int64

Parameters

i
Int32

the index

Returns

the value

Attributes

Remarks

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

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicLongArray.getPlain(int).

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