kotlin-stdlib / kotlin.collections / ListIterator / nextIndex nextIndex Common JVM JS Native 1.0 abstract fun nextIndex(): Int(Common source) (Native source) Returns the index of the element that would be returned by a subsequent call to next.