Interface IPageable
- All Known Implementing Classes:
PageRequest
public interface IPageable
Abstract pagination information that is necessary to describe
a page and get adjacent pages.
-
Method Details
-
getNumber
int getNumber()Returns the number of page.- Returns:
- the number of page
-
getSize
int getSize()Returns the size of page.- Returns:
- the size of page
-
getNext
IPageable getNext()Returns theIPageablerequesting the next page.- Returns:
- the pageable requesting the next page
-
getPrevious
IPageable getPrevious()Returns theIPageablerequesting the previous or first page if thisIPageablealready is the first one.- Returns:
- the pageable requesting the previous or first page
-