public final class Chunked<T>
extends java.lang.Object
implements java.lang.Iterable<java.lang.Iterable<T>>
Iterable decorator which returns the elements of the decorated Iterable in chunks of a specific size.| Constructor and Description |
|---|
Chunked(int chunkSize,
java.lang.Iterable<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.lang.Iterable<T>> |
iterator() |