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