UncheckedStrideIterator<E> constructor

UncheckedStrideIterator<E>(
  1. Iterable<E> iterable,
  2. int stepSize, [
  3. int startIndex = 0
])

Constructs an object of type UncheckedStrideIterator.

  • fixedLengthList: A list with fixed length and entries of type E.
  • stepSize: The iteration stride (step size). Must be larger than zero.
  • startIndex: If startIndex 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,
]);