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
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetList()
void
setHasMoreItems
(boolean hasMoreItems) void
void
setNumItems
(int numItems)
-
Field Details
-
list
-
hasMoreItems
public boolean hasMoreItems -
numItems
public int numItems
-
-
Constructor Details
-
BatchedList
public BatchedList()
-
-
Method Details
-
getList
-
setList
-
getHasMoreItems
-
setHasMoreItems
public void setHasMoreItems(boolean hasMoreItems) -
getNumItems
-
setNumItems
public void setNumItems(int numItems)
-