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 Details

    • list

      public List<T> list
    • hasMoreItems

      public boolean hasMoreItems
    • numItems

      public int numItems
  • Constructor Details

    • BatchedList

      public BatchedList()
  • Method Details

    • getList

      public List<T> getList()
    • setList

      public void setList(List<T> list)
    • getHasMoreItems

      public Boolean getHasMoreItems()
    • setHasMoreItems

      public void setHasMoreItems(boolean hasMoreItems)
    • getNumItems

      public BigInteger getNumItems()
    • setNumItems

      public void setNumItems(int numItems)