get

@NotNull
abstract fun get(index: Int): @NotNull 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