java.lang.Object
api.linlang.file.database.dto.Page<T>
- 类型参数:
T- 结果项类型
不可变的分页查询结果。
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Page
创建分页结果。- 参数:
items- 当前页数据;为null时按空列表处理total- 符合查询条件的总记录数offset- 当前页相对于完整结果集的起始偏移量
-
-
方法详细资料
-
items
- 返回:
- 当前页数据的不可变列表
-
total
public int total()- 返回:
- 符合查询条件的总记录数
-
offset
public int offset()- 返回:
- 当前页的起始偏移量
-