RangeIterator<T> class

An Iterator over a Range, provides various additional accessors of the standard collection iterator.

Implemented types

Constructors

RangeIterator(Range<T> range)
Constructs a RangeIterator at the beginning of the range.

Properties

current → T
The current element.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
range Range<T>
The underlying range being iterated over.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

moveNext() bool
Advances the iterator to the next element of the iteration.
override
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