|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.SingleListBuilderCallback<T>
T - public class SingleListBuilderCallback<T>
A very simple implementation which can be used in the case where you don't actually require paging and you actually have the entire list already.
Note that this implementation is not in the spirit of theListBuilder and you
should think carefully and be sure this is the best option available to you before using it.
| Constructor Summary | |
|---|---|
SingleListBuilderCallback(java.util.List<T> spaces)
|
|
| Method Summary | |
|---|---|
int |
getAvailableSize()
|
java.util.List<T> |
getElements(int offset,
int maxResults)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleListBuilderCallback(java.util.List<T> spaces)
| Method Detail |
|---|
public int getAvailableSize()
getAvailableSize in interface ListBuilderCallback<T>
public java.util.List<T> getElements(int offset,
int maxResults)
getElements in interface ListBuilderCallback<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||