AtomicStampedReference Constructors

Definition

Overloads

AtomicStampedReference(Object, Int32)

Creates a new AtomicStampedReference with the given initial values.

AtomicStampedReference(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AtomicStampedReference(Object, Int32)

Creates a new AtomicStampedReference with the given initial values.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Object;I)V", "")]
public AtomicStampedReference (Java.Lang.Object? initialRef, int initialStamp);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;I)V", "")>]
new Java.Util.Concurrent.Atomic.AtomicStampedReference : Java.Lang.Object * int -> Java.Util.Concurrent.Atomic.AtomicStampedReference

Parameters

initialRef
Object

the initial reference

initialStamp
Int32

the initial stamp

Attributes

Remarks

Creates a new AtomicStampedReference with the given initial values.

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

AtomicStampedReference(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AtomicStampedReference (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Atomic.AtomicStampedReference : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Atomic.AtomicStampedReference

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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