set

operator external fun set(index: Int, value: Short)(source)

Replaces the element at index with value.

Parameters

index

the zero-based element index.

value

the new element.

Throws

if index is negative or is at least size.