Stride<E> extension

Extension on Iterable<E> providing the method stride.

on

Methods

stride(int stepSize, [int startIndex = 0]) Iterable<E>
Returns an Iterable<E> which iterates this using a custom stepSize and starting from startIndex.