get

operator fun get(index: Int): E(source)

Get nth (0 <= n <= size()-1) element of the CircularArray.

Return

The nth element.

Parameters

index

The zero based element index in the CircularArray.

Throws

ArrayIndexOutOfBoundsException

if n < 0 or n >= size()