next

abstract operator fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.0

Throws

if the iteration has no next element.

abstract operator fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.1

Throws

if the iteration has no next element.

abstract operator fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.3

Throws

if the iteration has no next element.

abstract operator fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.8

Throws

if the iteration has no next element.

abstract operator fun next(): T(source)

Returns the next element in the iteration.

Since Kotlin

1.8

Throws

if the iteration has no next element.