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