next
С версии Kotlin: 1.0
operator override fun next(): Int
Возвращает следующий элемент итерации.
Исключения
если в итерации нет следующего элемента.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-int-iterator/next.html