void function ( ) { numberOfPages = ( int ) Math . ceil ( ( double ) numberOfItems / ( double ) itemsPerPage ) ; firstResult = ( currentPage - 1 ) * itemsPerPage ; }
calculate and then cleanup concode_field_sep int itemsPerPage concode_elem_sep int numberOfPages concode_elem_sep int defItemsPerPage concode_elem_sep int numberOfItems concode_elem_sep int firstResult concode_elem_sep int currentPage concode_elem_sep int rewindFastForwardBy concode_field_sep void next concode_elem_sep int getNumberOfPages concode_elem_sep void previous concode_elem_sep void forward concode_elem_sep void setCurrentPage concode_elem_sep void setFirstResult concode_elem_sep int getFirstResult concode_elem_sep int getMaxResults concode_elem_sep void setNumberOfItems concode_elem_sep void rewind concode_elem_sep void rewind concode_elem_sep int getCurrentPage concode_elem_sep void setItemsPerPage concode_elem_sep int getNumberOfItems