Share via


AtomicMarkableReference.Set(Object, Boolean) Method

Definition

Unconditionally sets the value of both the reference and mark.

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

Parameters

newReference
Object

the new value for the reference

newMark
Boolean

the new value for the mark

Attributes

Remarks

Unconditionally sets the value of both the reference and mark.

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