kotlin.collections.Iterator

Iterator

interface Iterator<out T>

An iterator over a collection or another entity that can be represented as a sequence of elements. Allows to sequentially access the elements.

Functions

hasNext

abstract operator fun hasNext(): Boolean

Returns true if the iteration has more elements.

next

登录查看完整内容