Java.Util.Concurrent.Atomic.AtomicLong.GetAndSet Method
Atomically sets to the given value and returns the old value.

Syntax

[Android.Runtime.Register("getAndSet", "(J)J", "")]
public long GetAndSet (long newValue)

Parameters

newValue
the new value

Returns

Documentation for this section has not yet been entered.

Remarks

Atomically sets to the given value and returns the old value.

[Android Documentation]

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