⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datapage.java

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JAVA
字号:
/* * 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 + -