nextIndex

abstract fun nextIndex(): Int(source)

Returns the index of the element that would be returned by a subsequent call to next.

Since Kotlin

1.0
abstract fun nextIndex(): Int(source)

Returns the index of the element that would be returned by a subsequent call to next.

Since Kotlin

1.3