Share via


AtomicMarkableReference.Get(Boolean[]) Method

Definition

Returns the current values of both the reference and the mark.

[Android.Runtime.Register("get", "([Z)Ljava/lang/Object;", "GetGet_arrayZHandler")]
public virtual Java.Lang.Object? Get (bool[]? markHolder);
[<Android.Runtime.Register("get", "([Z)Ljava/lang/Object;", "GetGet_arrayZHandler")>]
abstract member Get : bool[] -> Java.Lang.Object
override this.Get : bool[] -> Java.Lang.Object

Parameters

markHolder
Boolean[]

an array of size of at least one. On return, markHolder[0] will hold the value of the mark.

Returns

the current value of the reference

Attributes

Remarks

Returns the current values of both the reference and the mark. Typical usage is boolean[1] holder; ref = v.get(holder);.

Java documentation for java.util.concurrent.atomic.AtomicMarkableReference.get(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