public void lastPage ( ) { int idx = pages . size ( ) - 1 ; if ( idx < 0 ) { idx = 0 ; } if ( pageIndex != idx ) { pageIndex = idx ; currentPage = null ; } }
Navigates to the last page in the iterator .