Class PaginatedPlotResult

java.lang.Object
com.plotsquared.core.util.query.PaginatedPlotResult

public final class PaginatedPlotResult extends Object
Paginated collection of plots as a result of a query
  • Method Details

    • getPage

      public List<Plot> getPage(int page)
      Get the plots belonging to a certain page.
      Parameters:
      page - Positive page number. Indexed from 1
      Returns:
      Plots that belong to the specified page
    • getPages

      public int getPages()
      Get the number of available pages
      Returns:
      Available pages