Share via


AtomicStampedReference.Set(Object, Int32) Method

Definition

Unconditionally sets the value of both the reference and stamp.

[Android.Runtime.Register("set", "(Ljava/lang/Object;I)V", "GetSet_Ljava_lang_Object_IHandler")]
public virtual void Set (Java.Lang.Object? newReference, int newStamp);
[<Android.Runtime.Register("set", "(Ljava/lang/Object;I)V", "GetSet_Ljava_lang_Object_IHandler")>]
abstract member Set : Java.Lang.Object * int -> unit
override this.Set : Java.Lang.Object * int -> unit

Parameters

newReference
Object

the new value for the reference

newStamp
Int32

the new value for the stamp

Attributes

Remarks

Unconditionally sets the value of both the reference and stamp.

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