get

operator fun get(index: Int): T

Returns the element at the specified position in this list.

Return

The element at the specified position in this list.

Parameters

index

Index of the element to return.

Throws

If the index exceeds the list's bounds.