java分页算法

int totalPageNum = (totalRecord  +  pageSize  - 1) / pageSize;

原文地址:https://www.cnblogs.com/linbo3168/p/6535213.html