Stride<E> extension
Extension on Iterable<E>
providing the method stride
.
Methods
-
stride(int stepSize, [int startIndex = 0])
→ Iterable<E>
-
Available on Iterable<E>,
provided by the Stride extension
Returns an Iterable<E>
which iterates this
using a custom stepSize
and starting from startIndex
.