Class ListUtils.BatchedList<T>
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.impl.util.ListUtils.BatchedList<T>
-
- Type Parameters:
T
- the type of the list elements
- Enclosing class:
- ListUtils
public static class ListUtils.BatchedList<T> extends Object
A holder for a sublist of a list, a flag indicating if there were more elements after the included sublist, and the total number of items if there had been no batching.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
hasMoreItems
List<T>
list
int
numItems
-
Constructor Summary
Constructors Constructor Description BatchedList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getHasMoreItems()
List<T>
getList()
BigInteger
getNumItems()
void
setHasMoreItems(boolean hasMoreItems)
void
setList(List<T> list)
void
setNumItems(int numItems)
-
-
-
Field Detail
-
hasMoreItems
public boolean hasMoreItems
-
numItems
public int numItems
-
-
Constructor Detail
-
BatchedList
public BatchedList()
-
-
Method Detail
-
getHasMoreItems
public Boolean getHasMoreItems()
-
setHasMoreItems
public void setHasMoreItems(boolean hasMoreItems)
-
getNumItems
public BigInteger getNumItems()
-
setNumItems
public void setNumItems(int numItems)
-
-