Android Guides | Samples

Java.Util.Concurrent.Atomic.AtomicIntegerFieldUpdater.CompareAndSet Method

Syntax

[Android.Runtime.Register("compareAndSet", "(Ljava/lang/Object;II)Z", "GetCompareAndSet_Ljava_lang_Object_IIHandler")]
public abstract Boolean CompareAndSet (Object obj, Int32 expect, Int32 update)

Parameters

obj
expect
update

Requirements

Namespace: Java.Util.Concurrent.Atomic
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1