java.lang.Object
io.github.rysefoxx.inventory.plugin.other.Page

public class Page extends Object
Since:
9/4/2022
  • Method Details

    • of

      @Contract(value="_, _ -> new", pure=true) @NotNull public static @NotNull Page of(@Nonnegative int page, @Nonnegative int rows)
      Gives the page a specified number of rows.
      Parameters:
      page - The page number. First page is 0.
      rows - The number of rows. Must be between 1 and 6.
      Returns:
      The page with the specified number of rows.