public class PagingResult<E> extends Object
| 构造器和说明 |
|---|
PagingResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<E> |
getItems() |
int |
getMaxPage() |
long |
getMaxPageCount()
已过时。
|
long |
getMaxPageCount(int pageSize) |
int |
getPageNo() |
int |
getPageSize() |
long |
getTotal() |
PagingResult<E> |
setItems(List<E> items) |
PagingResult<E> |
setPageNo(int pageNo) |
PagingResult<E> |
setPageSize(int pageSize) |
PagingResult<E> |
setTotal(long total) |
public int getPageNo()
public PagingResult<E> setPageNo(int pageNo)
public int getPageSize()
public PagingResult<E> setPageSize(int pageSize)
public long getTotal()
public PagingResult<E> setTotal(long total)
public PagingResult<E> setItems(List<E> items)
public int getMaxPage()
@Deprecated public long getMaxPageCount()
public long getMaxPageCount(int pageSize)
Copyright © 2021. All rights reserved.