KtIterator<T> class
abstract
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
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasNext(
) → bool -
Returns
true
if the iteration has more elements. (In other words, returnstrue
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited