nextIndex
Returns the index of the element that would be returned by a subsequent call to next.
Since Kotlin
1.2Returns the index of the element that would be returned by a subsequent call to next.
Since Kotlin
1.0Returns the index of the element that would be returned by a subsequent call to next.