public class BatchUtils extends Object
Constructor and Description |
---|
BatchUtils() |
Modifier and Type | Method and Description |
---|---|
static <E> List<E> |
getBatchList(Integer index,
int batchSize,
Collection<E> collection)
批量处理切分的时候,返回第index个List
|
public static <E> List<E> getBatchList(Integer index, int batchSize, Collection<E> collection)
index
- batchSize
- collection
- Copyright © 2014. All Rights Reserved.