IndexListIterator

class IndexListIterator<out T>(list: IndexList<T>) : Iterator<T>

Implementation of Iterator for IndexList.

Author

Alexander Kornilov (akornilov.82@gmail.com).

Constructors

IndexListIterator
Link copied to clipboard
fun <out T> IndexListIterator(list: IndexList<T>)

Functions

forEachRemaining
Link copied to clipboard
open fun forEachRemaining(p0: Consumer<in T>)
hasNext
Link copied to clipboard
open operator override fun hasNext(): Boolean
Returns true if the iteration has more elements.
next
Link copied to clipboard
open operator override fun next(): T
Returns the next element in the iteration.