* @version : 2014年10月30日
* @author 赵永春(zyc@hasor.net)
*/
public class Pages {
public static void main(String[] args) {
Paginator pag = new Paginator();
pag.setTotalCount(20);
pag.setCurrentPage(100);
//
System.out.println(" pageSize: " + pag.getPageSize());
System.out.println(" totalCount: " + pag.getTotalCount());
System.out.println(" isFirstPage: " + pag.isFirstPage());
System.out.println(" hasPrevious: " + pag.hasPreviousPage());
System.out.println("PreviousPage: " + pag.getPreviousPage());
System.out.println(" CurrentPage: " + pag.getCurrentPage());
System.out.println(" NextPage: " + pag.getNextPage());
System.out.println(" hasNextPage: " + pag.hasNextPage());
System.out.println(" isLastPage: " + pag.isLastPage());
System.out.println(" totalPage: " + pag.getTotalPage());
System.out.println(" firstItem: " + pag.getFirstItem());
System.out.println(" lastItem : " + pag.getLastItem());
}