Android Guides | Samples

Java.Util.Concurrent.Atomic.AtomicReference.CompareAndSet Method

Syntax

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

Parameters

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