Package com.atlassian.confluence.core
Class SingleListBuilderCallback<T>
java.lang.Object
com.atlassian.confluence.core.SingleListBuilderCallback<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
ListBuilderCallback<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 the ListBuilder
and you
should think carefully and be sure this is the best option available to you before using it.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SingleListBuilderCallback
-
-
Method Details
-
getAvailableSize
public int getAvailableSize()- Specified by:
getAvailableSize
in interfaceListBuilderCallback<T>
-
getElements
- Specified by:
getElements
in interfaceListBuilderCallback<T>
-