public class PageUtils extends Object
| Constructor and Description |
|---|
PageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
calIndex(int pageNum,
int pageSize)
计算开始下标,结束下标
|
static <T> Page<T> |
getPage(List<T> t,
long total,
int pageNum,
int pageSize)
返回通用分页对象
|
Copyright © 2016. All Rights Reserved.