KtIterator<T> class

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

Implementers

Constructors

KtIterator()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

hasNext() bool
Returns true if the iteration has more elements. (In other words, returns true if [next} would return an element rather than throwing an exception.) [...]
next() → T
Returns the next element in the iteration. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited