AtomicStampedReference.Get(Int32[]) Method

Definition

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

[Android.Runtime.Register("get", "([I)Ljava/lang/Object;", "GetGet_arrayIHandler")]
public virtual Java.Lang.Object? Get (int[]? stampHolder);
[<Android.Runtime.Register("get", "([I)Ljava/lang/Object;", "GetGet_arrayIHandler")>]
abstract member Get : int[] -> Java.Lang.Object
override this.Get : int[] -> Java.Lang.Object

Parameters

stampHolder
Int32[]

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

Returns

the current value of the reference

Attributes

Remarks

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

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