com.atlassian.confluence.core
Class PartialList<T>

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

public class PartialList<T>
extends java.lang.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
PartialList(int available, int start, int count, java.lang.Iterable<T> list)
           
PartialList(int available, int start, java.util.List<T> list)
           
 
Method Summary
static
<T> PartialList<T>
empty()
           
static
<T> PartialList<T>
forAll(java.lang.Iterable<T> iterable)
           
 int getAvailable()
           
 int getCount()
           
 java.util.List<T> getList()
           
 int getStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialList

public PartialList(int available,
                   int start,
                   java.util.List<T> list)

PartialList

public PartialList(int available,
                   int start,
                   int count,
                   java.lang.Iterable<T> list)
Method Detail

empty

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

forAll

public static <T> PartialList<T> forAll(java.lang.Iterable<T> iterable)

getAvailable

public int getAvailable()

getStart

public int getStart()

getCount

public int getCount()

getList

public java.util.List<T> getList()


Copyright © 2003-2014 Atlassian. All Rights Reserved.