ReverseStrideIterator<E> class

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

Concurrent modification is checked prior to advancing the iterator.

Implemented types

Constructors

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

Properties

current → E
The current element.
no setteroverride
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.
final

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