Interface PagedResult

All Superinterfaces:
PageNavigator, PageRequest
All Known Subinterfaces:
Paginator<E>
All Known Implementing Classes:
PagedLiveData

public interface PagedResult
extends PageNavigator
  • Method Details

    • getTotalElements

      int getTotalElements()
      Returns the total amount of elements.
      Returns:
      the total amount of elements
    • getTotalPages

      int getTotalPages()
      Returns the number of total pages.
      Returns:
      the number of total pages
    • isLast

      boolean isLast()
    • isFirst

      boolean isFirst()
    • hasNext

      boolean hasNext()
    • hasPrevious

      boolean hasPrevious()