get

operator fun get(index: Int): Int(source)

Deprecated (with error)

Use loadAt(index: Int) instead.

Replace with

this.loadAt(index)

Atomically gets the value of the element at the given index.

Provides sequential consistent ordering guarantees.

Since Kotlin

2.1

Throws

if the index is out of bounds of this array.