FastStride<E> extension
Extension providing the method fastStride
.
Note: The backing iterable should be immutable or fixed length since
concurrent modification is not checked.
- on
-
- Iterable<
E>
- Iterable<
Methods
-
fastStride(
int stepSize, [int startIndex = 0]) → Iterable< E> -
Returns an
Iterable<E>
which iteratesthis
using a customstepSize
and starting fromstartIndex
.