public interface PagedResult extends PageNavigator
| Modifier and Type | Method and Description |
|---|---|
int |
getTotalElements()
Returns the total amount of elements.
|
int |
getTotalPages()
Returns the number of total pages.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isFirst() |
boolean |
isLast() |
firstPage, lastPage, nextPage, previousPage, setOffset, setPage, setPageSizebuild, getOffset, getPageNumber, getPageSizeint getTotalElements()
int getTotalPages()
boolean isLast()
boolean isFirst()
boolean hasNext()
boolean hasPrevious()
Copyright © 2019. All rights reserved.