store

fun <T : Comparable<T>> store(typedArray: TypedArray<*, *, *, T>, index: Int, value: T): T(source)

Stores a value at the given position in the array, returning the new value. Until this atomic operation completes, any other read or write operation against the array will block.