T - The result entity typepublic class PageResult<T> extends Object implements Serializable
| 构造器和说明 |
|---|
PageResult(int pgCt,
int pgSz)
Constructs a new page result with the current page number and page size
|
PageResult(int pgCt,
int pgSz,
int total)
Constructs a new page result with the current page number, page size, data total
|
PageResult(int pgCt,
int pgSz,
int total,
List<T> datas)
Constructs a new page result with the current page number, page size, data total, datas
|
public PageResult(int pgCt,
int pgSz)
pgCt - the current page numberpgSz - the page sizepublic PageResult(int pgCt,
int pgSz,
int total)
pgCt - the current page numberpgSz - the page sizetotal - the data totalCopyright © 2019. All rights reserved.