Java.Util.Concurrent.Atomic.AtomicIntegerArray.GetAndSet Method
Atomically sets the element at position i to the given value and returns the old value.

Syntax

[Android.Runtime.Register("getAndSet", "(II)I", "")]
public int GetAndSet (int i, int newValue)

Parameters

i
the index
newValue
the new value

Returns

Documentation for this section has not yet been entered.

Remarks

Atomically sets the element at position i 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