public boolean next ( ) throws EFapsException { boolean ret = false ; if ( this . iterator == null ) { this . iterator = this . instances . iterator ( ) ; } if ( this . iterator . hasNext ( ) ) { this . current = this . iterator . next ( ) ; ret = true ; } if ( ret ) { for ( final OneSelect oneSelect : getAllSelects ( ) ) { ret = oneSelect . next ( ) ; if ( ! ret ) { break ; } } } return ret ; }
Method to move the iterator to the next value .