fun
incrementAndGet
(
index
:
Int
)
:
Long
(source)
Atomically increments the element at the given
index
by one and returns the new value of the element.
Provides sequential consistent ordering guarantees.
Exceptions
IndexOutOfBoundsException
- if the
index
is out of bounds of this array.