public interface Pageable
DataPaginator.doPaging(int, List, Pageable)
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfPages()
Get the total number of pages
|
<T> void |
set(List<T> t)
Set the paged items
|
void |
setNumberOfPages(int numberOfPages)
Set the total number of pages
|
int getNumberOfPages()
void setNumberOfPages(int numberOfPages)
numberOfPages
- The total number of pages<T> void set(List<T> t)
T
- The type of objects in the collectiont
- The collectionCopyright © 2016 WSO2 Inc. All rights reserved.