?? pagebean.java
字號:
package com.tsinghua.bean;
import java.util.List;
public class pageBean
{
private int nowPage = 1 ; //當前頁數
private int perPageRows = 8; // 每頁顯示結果條數
private int allPages ; //總頁數
private long totalRows; // 總條數
private List result; // 返回的結果集
public int getAllPages()
{
return allPages;
}
public void setAllPages(int allPages)
{
this.allPages = allPages;
}
public int getNowPage()
{
return nowPage;
}
public void setNowPage(int nowPage)
{
this.nowPage = nowPage;
}
public int getPerPageRows()
{
return perPageRows;
}
public void setPerPageRows(int perPageRows)
{
this.perPageRows = perPageRows;
}
public long getTotalRows()
{
return totalRows;
}
public void setTotalRows(long totalRows)
{
this.totalRows = totalRows;
}
public List getResult()
{
return result;
}
public void setResult(List result)
{
this.result = result;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -