CheckedStrideIterator<E> class

Iterates an Iterable using a positive non-zero step size and a custom start index.

Inheritance

Constructors

CheckedStrideIterator(Iterable<E> iterable, int stepSize, [int startIndex = 0])
Constructs an object of type CheckedStrideIterator.

Properties

current → E
The current element.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepSize int
The iteration stride.
finalinherited

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