public class Pagination<T> extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static Integer |
DEFAULT_PAGE_SIZE |
| 构造器和说明 |
|---|
Pagination() |
Pagination(List<T> list,
long rowTotal,
long page) |
Pagination(List<T> list,
long rowTotal,
long page,
long size) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Pagination<T> |
empty() |
long |
getPageTotal() |
boolean |
isFirstPage() |
boolean |
isLastPage() |
boolean |
isNextPage() |
boolean |
isPrePage() |
String |
toString() |
public static final Integer DEFAULT_PAGE_SIZE
public static <T> Pagination<T> empty()
public long getPageTotal()
public boolean isFirstPage()
public boolean isLastPage()
public boolean isNextPage()
public boolean isPrePage()
Copyright © 2023 wuyushuo. All rights reserved.