decrementAndGet
Deprecated (with error)
Use decrementAndFetchAt(index: Int) instead.
Replace with
this.decrementAndFetchAt(index)
Content copied to clipboard
Atomically decrements 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.