📄 .#datapage.java.1.1.1.1
字号:
/* * DataPage.java * * Created on 2007-8-18, 6:36:50 * * To change this template, choose Tools | Templates * and open the template in the editor. */package biz.tbuy.common.page;import java.util.List;/** * * @author Administrator */public class DataPage { private int datasetSize; private int startRow; private List data; /** * Create an object representing a sublist of a dataset. * * @param datasetSize * is the total number of matching rows available. * * @param startRow * is the index within the complete dataset of the first element * in the data list. * * @param data * is a list of consecutive objects from the dataset. */ public DataPage(int datasetSize, int startRow, List data) { this .datasetSize = datasetSize; this .startRow = startRow; this .data = data; } /** * Return the number of items in the full dataset. */ public int getDatasetSize() { return datasetSize; } /** * Return the offset within the full dataset of the first element in the * list held by this object. */ public int getStartRow() { return startRow; } /** * Return the list of objects held by this object, which is a continuous * subset of the full dataset. */ public List getData() { return data; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -