Compartilhar via


AtomicIntegerFieldUpdater.LazySet(Object, Int32) Method

Definition

Eventually sets the field of the given object managed by this updater to the given updated value.

[Android.Runtime.Register("lazySet", "(Ljava/lang/Object;I)V", "GetLazySet_Ljava_lang_Object_IHandler")]
public abstract void LazySet (Java.Lang.Object? obj, int newValue);
[<Android.Runtime.Register("lazySet", "(Ljava/lang/Object;I)V", "GetLazySet_Ljava_lang_Object_IHandler")>]
abstract member LazySet : Java.Lang.Object * int -> unit

Parameters

obj
Object

An object whose field to set

newValue
Int32

the new value

Attributes

Remarks

Eventually sets the field of the given object managed by this updater to the given updated value.

Added in 1.6.

Java documentation for java.util.concurrent.atomic.AtomicIntegerFieldUpdater.lazySet(T, 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