All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <T> java.lang.Iterable<java.util.List<T>> |
partition(java.util.Collection<T> coll,
int size,
int steps,
boolean pad)
Partition coll into sub-collection of given size, advancing by given number of steps
in coll between partitions and optionally padding any empty space with null.
|
static <T> java.lang.Iterable<java.util.List<T>> |
partition(java.util.List<T> coll,
int size) |
static <T> java.lang.Iterable<java.util.List<T>> |
partition(java.util.List<T> coll,
int size,
boolean pad) |
static <T> java.lang.Iterable<java.util.List<T>> |
partition(java.util.List<T> coll,
int size,
int steps) |