UncheckedStrideIterator<E> class
Iterates an Iterable using a positive non-zero step size and a custom start index.
Note: Concurrent modification is not checked prior to advancing the iterator. It is assumed that the list length does not change. Should be used to iterate fixed length lists.
- Inheritance
-
- Object
- StrideIterator<
E> - UncheckedStrideIterator
Constructors
-
UncheckedStrideIterator(Iterable<
E> iterable, int stepSize, [int startIndex = 0]) - Constructs an object of type UncheckedStrideIterator.
Properties
Methods
-
moveNext(
) → bool -
Moves the iterator to the next element.
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