ChunkedIterableExtension<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
chunked(
int size) → Iterable< List< E> > -
Divides this Iterable into sub-lists of a given
size
. The final list might be smaller or equal to the desired size. -
chunkedWithPadding(
int size, E padding) → Iterable< Iterable< E> > -
Divides this
Iterable
into sub-lists of a givensize
. The final list is expanded with the providedpadding
, ornull
.