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 the IPageable requesting the next page.
      Returns:
      the pageable requesting the next page
    • getPrevious

      IPageable getPrevious()
      Returns the IPageable requesting the previous or first page if this IPageable already is the first one.
      Returns:
      the pageable requesting the previous or first page