Class 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 Detail

      • list

        public List<T> list
      • hasMoreItems

        public boolean hasMoreItems
      • numItems

        public int numItems
    • Constructor Detail

      • BatchedList

        public BatchedList()
    • Method Detail

      • getList

        public List<T> getList()
      • setList

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

        public Boolean getHasMoreItems()
      • setHasMoreItems

        public void setHasMoreItems​(boolean hasMoreItems)
      • setNumItems

        public void setNumItems​(int numItems)