Java.Util.Concurrent.Atomic.AtomicIntegerArray Members

The members of Java.Util.Concurrent.Atomic.AtomicIntegerArray are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new AtomicIntegerArray of the given length, with all elements initially zero.
Creates a new AtomicIntegerArray with the same length as, and all elements copied from, the given array.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddAndGet(int, int) : int
Atomically adds the given value to the element at index i.
CompareAndSet(int, int, int) : bool
Atomically sets the element at position i to the given updated value if the current value == the expected value.
DecrementAndGet(int) : int
Atomically decrements by one the element at index i.
Get(int) : int
Gets the current value at position i.
GetAndAdd(int, int) : int
Atomically adds the given value to the element at index i.
GetAndDecrement(int) : int
Atomically decrements by one the element at index i.
GetAndIncrement(int) : int
Atomically increments by one the element at index i.
GetAndSet(int, int) : int
Atomically sets the element at position i to the given value and returns the old value.
IncrementAndGet(int) : int
Atomically increments by one the element at index i.
LazySet(int, int)
Eventually sets the element at position i to the given value.
Length() : int
Returns the length of the array.
Set(int, int)
Sets the element at position i to the given value.
WeakCompareAndSet(int, int, int) : bool
Atomically sets the element at position i to the given updated value if the current value == the expected value.