Class PaginatedList<T>

java.lang.Object
com.suncode.pwfl.util.PaginatedList<T>

public class PaginatedList<T> extends Object
Wrapper for lists to manage their paging.
Author:
RafaƂ Nowacki 2018-03-21
  • Constructor Details

    • PaginatedList

      public PaginatedList()
  • Method Details

    • getPage

      public List<T> getPage(Integer pageNo)
      Returns given page.
      Parameters:
      pageNo - Page number,
    • getRange

      public List<T> getRange(Integer start)
      Returns range of list.
      Parameters:
      start - Start index.