src/main/java/pw/phylame/util/sql/PagingResultSet.java
/**
     * Go to next page.
     * @throws PageSwitchException if currently in last page
     * @throws SQLException if occur errors when jump page
     */
Go to next page.
@throws PageSwitchException if currently in last page
@throws SQLException if occur errors when jump page
Go to next page . @throws PageSwitchException if currently in last page @throws SQLException if occur errors when jump page
public void nextPage() throws SQLException, PageSwitchException {
        if (currentPage == pageCount) {  
            throw new PageSwitchException(currentPage, "Currently in last page");
        }
        currentPage++;
        gotoPage(currentPage);
    }
public void nextPage ( ) throws SQLException , PageSwitchException { if ( currentPage == pageCount ) { throw new PageSwitchException ( currentPage , "Currently in last page" ) ; } currentPage ++ ; gotoPage ( currentPage ) ; }
Go to next page.
Go to next page .
// the last page