Class PartialList<T>

java.lang.Object
com.atlassian.confluence.core.PartialList<T>

public class PartialList<T> extends Object
CAVEAT: This class is a temporary copy of the PartialList in confluence-api, for use with managers that are planned for migration to the API (at which point this class can be removed).

From the original class docs:

A window into a list of unbounded length. To avoid the performance issues involved in retrieving lists of items that may have large numbers of members, the API instead uses PartialList

  • Constructor Details

    • PartialList

      public PartialList(int available, int start, List<T> list)
    • PartialList

      public PartialList(int available, int start, int count, Iterable<T> list)
  • Method Details

    • empty

      public static <T> PartialList<T> empty()
    • forAll

      public static <T> PartialList<T> forAll(Iterable<T> iterable)
    • getAvailable

      public int getAvailable()
    • getStart

      public int getStart()
    • getCount

      public int getCount()
    • getList

      public List<T> getList()