Package com.atlassian.confluence.core
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 Summary
Constructors Constructor Description PartialList(int available, int start, int count, Iterable<T> list)
PartialList(int available, int start, List<T> list)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> PartialList<T>
empty()
static <T> PartialList<T>
forAll(Iterable<T> iterable)
int
getAvailable()
int
getCount()
List<T>
getList()
int
getStart()
-
-
-
Method Detail
-
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()
-
-