get

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

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

Provides sequential consistent ordering guarantees.

Since Kotlin

1.9

Throws

if the index is out of bounds of this array.