nextIndex

open fun nextIndex(): Int

Get index of the next element.

Return

Index of the next element.

Throws

There is no next element.