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

📄 page.java

📁 随着信息技术的飞速发展和日趋激烈的商业竞争
💻 JAVA
字号:

package oa.sys;

import java.util.*;
public class Page {
	public int curPage;
	public int maxPage;
	public int maxRowCount;
	public int rowsPerPage=5;
	public Collection coll=null;
	public Page(){
	}

	public void getCountPage(){
		if(this.maxRowCount%this.rowsPerPage==0){
			this.maxPage=this.maxRowCount/this.rowsPerPage;
		}else{
			this.maxPage=this.maxRowCount/this.rowsPerPage+1;
		}
	}
	public Collection getResult(){
		return this.coll;
	}
	public Page(Contact contact)throws Exception{
		this.maxRowCount=contact.getCount();
		this.coll=contact.getResult();
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -