|
Spring Data Core | |||||||||
| 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 | |
|---|---|
long |
getTotalElements()
Returns the total amount of elements. |
int |
getTotalPages()
Returns the number of total pages. |
boolean |
hasNextPage()
Deprecated. use Slice.hasNext() instead. |
boolean |
hasPreviousPage()
Deprecated. use Slice.hasPrevious() instead. |
boolean |
isFirstPage()
Deprecated. use Slice.isFirst() instead. |
boolean |
isLastPage()
Deprecated. use Slice.isLast() instead. |
| Methods inherited from interface org.springframework.data.domain.Slice |
|---|
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
int getTotalPages()
long getTotalElements()
@Deprecated boolean hasPreviousPage()
Slice.hasPrevious() instead.
@Deprecated boolean isFirstPage()
Slice.isFirst() instead.
@Deprecated boolean hasNextPage()
Slice.hasNext() instead.
@Deprecated boolean isLastPage()
Slice.isLast() instead.
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||