MutableIterator
An iterator over a mutable collection. Provides the ability to remove elements while iterating.
Since Kotlin
1.1See also
Inheritors
An iterator over a mutable collection. Provides the ability to remove elements while iterating.
Since Kotlin
1.0See also
Inheritors
Functions
Link copied to clipboard
Creates a sequence that returns all elements from this iterator. The sequence is constrained to be iterated only once.
Since Kotlin 1.1
Link copied to clipboard
Link copied to clipboard
Returns the given iterator itself. This allows to use an instance of iterator in a for
loop.
Since Kotlin 1.1
Link copied to clipboard
Returns an Iterator that wraps each element produced by the original iterator into an IndexedValue containing the index of that element and the element itself.
Since Kotlin 1.1
Returns an Iterator that wraps each element produced by the original iterator into an IndexedValue containing the index of that element and the element itself.
Since Kotlin 1.0