AtomicMarkableReference.Set(Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.