get

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

Returns the element at index.

Valid indexes range from zero through size minus one. Invalid indexes are rejected by the implementation; ArrayList throws IllegalArgumentException.

Return

the stored element.

Parameters

index

zero-based element index.

See also