kotlin-stdlib / kotlin.collections / AbstractIterator / setNext setNext Common JVM JS Native 1.0 protected fun setNext(value: T) Sets the next value in the iteration, called from the computeNext function