|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface Page<T>
A page is a sublist of a list of objects. It allows gain information about the position of it in the containing entire list.
| Method Summary | |
|---|---|
java.util.List<T> |
asList()
Returns the page content as List. |
int |
getNumber()
Returns the number of the current page. |
int |
getNumberOfElements()
Returns the number of elements currently on this page. |
int |
getSize()
Returns the size of the page. |
Sort |
getSort()
Returns the sorting parameters for the page. |
long |
getTotalElements()
Returns the total amount of elements. |
int |
getTotalPages()
Returns the number of total pages. |
boolean |
hasNextPage()
Returns if there is a next page. |
boolean |
hasPreviousPage()
Returns if there is a previous page. |
java.util.Iterator<T> |
iterator()
|
| Method Detail |
|---|
int getNumber()
Page#getTotalPages().
int getSize()
int getTotalPages()
int getNumberOfElements()
long getTotalElements()
boolean hasPreviousPage()
boolean hasNextPage()
java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>java.util.List<T> asList()
List.
Sort getSort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||