Class PartialList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.nuxeo.ecm.core.api.PartialList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>

public class PartialList<E> extends AbstractList<E>
The bundling of a list and a total size.
  • Field Details

    • list

      protected final List<E> list
    • totalSize

      protected final long totalSize
  • Constructor Details

    • PartialList

      public PartialList(List<E> list, long totalSize)
      Constructs a partial list.
      Parameters:
      list - the list
      totalSize - the total size
  • Method Details