question: @ Override public boolean hasNext ( ) { if ( allRowsResult . size ( ) == 0 ) { return false ; } totalRecordCounter ++ ; listRecordCounter ++ ; if ( listRecordCounter == 0 || ( listRecordCounter >= currentRowPointer . size ( ) && currentListCounter < allRowsResult . size ( ) ) ) { listRecordCounter = 0 ; currentRowPointer = allRowsResult . get ( currentListCounter ) ; currentListCounter ++ ; } return totalRecordCounter < totalNumberOfRecords ; }
target:  Method to check more result is present or not