incrementAndGet
Deprecated (with error)
Use incrementAndFetchAt(index: Int) instead.
Replace with
this.incrementAndFetchAt(index)
Content copied to clipboard
Atomically increments the element at the given index by one and returns the new value of the element.
Provides sequential consistent ordering guarantees.
Since Kotlin
2.1Throws
if the index is out of bounds of this array.