com.alkacon.geranium.client.util
T - the type of items in the list to be partitionedpublic class ListSplitter<T extends I_CmsHasSize> extends java.lang.Object
| Constructor and Description |
|---|
ListSplitter(java.util.List<T> items,
int batchSize)
Creates a new instance of a list splitter.
|
public ListSplitter(java.util.List<T> items, int batchSize)
items - the list of items to splitbatchSize - the minimum size of the batches (except for the last batch)public java.util.List<T> getMore()
This will fail if there are no more items.
public boolean hasMore()