get

@NonNull
open fun get(index: Int): @NonNull T

Retrieves the element at the specified index.

Return

the element

Since

2.0.0

Parameters

index

the index of the element

Throws

if the index is out of range