UncheckedStrideIterator<E> constructor
Constructs an object of type UncheckedStrideIterator.
fixedLengthList
: A list with fixed length and entries of typeE
.stepSize
: The iteration stride (step size). Must be larger than zero.startIndex
: IfstartIndex
is a valid list index then the first element returned by the getter current (after initially advancing the iterator) will be:fixedLengthList[startIndex]
.
Implementation
UncheckedStrideIterator(
super.iterable,
super.stepSize, [
super.startIndex = 0,
]);