AtomicIntegerFieldUpdater.GetAndSet(Object, Int32) AtomicIntegerFieldUpdater.GetAndSet(Object, Int32) Method

Definition

[Android.Runtime.Register("getAndSet", "(Ljava/lang/Object;I)I", "GetGetAndSet_Ljava_lang_Object_IHandler")]
public virtual int GetAndSet (Java.Lang.Object obj, int newValue);
abstract member GetAndSet : Java.Lang.Object * int -> int
override this.GetAndSet : Java.Lang.Object * int -> int

Parameters

newValue
Int32 Int32

Returns

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