Interface PaginationWalker.WalkFunction<T>

Type Parameters:
T -
Enclosing class:
PaginationWalker
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PaginationWalker.WalkFunction<T>
Used to fetch the next page of a collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    getPage(int offset, int count)
    Fetches the next page.
  • Method Details

    • getPage

      Pagination<T> getPage(int offset, int count)
      Fetches the next page.
      Parameters:
      offset - the offset
      count - the count
      Returns:
      the Pagination with the results for the page