类 PageParam

java.lang.Object
org.babyfish.jimmer.spring.repo.PageParam

public class PageParam extends Object
  • 方法详细资料

    • byIndex

      public static PageParam byIndex(int index, int size)
      Construct page param by page index and page size
      参数:
      index - Start from 0
      size - Must be greater than or equal to 0
      返回:
      A new page param object
    • byNo

      public static PageParam byNo(int no, int size)
      Construct page param by page number and page size
      参数:
      no - Start from 1
      size - Must be greater than or equal to 0
      返回:
      A new page param object
    • getIndex

      public int getIndex()
    • getSize

      public int getSize()
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object