@ Override public boolean next ( ) { while ( true ) { if ( rp . next ( ) ) return true ; if ( current == endBlkNum ) return false ; moveToBlock ( current + 1 ) ; } }
Moves to the next record in the current block of the chunk . If there are no more records then make the next block be current . If there are no more blocks in the chunk return false .