public interface PagedResult extends PageRequest
| 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, getOffset, getPageNumber, getPageSize, lastPage, nextPage, previousPage, setOffset, setPage, setPageSizeint getTotalElements()
int getTotalPages()
boolean isLast()
boolean isFirst()
boolean hasNext()
boolean hasPrevious()
Copyright © 2019. All rights reserved.