question: @ Override public TextAnnotation next ( ) { if ( stack . isEmpty ( ) && fileIndex >= fileList . size ( ) ) throw new NoSuchElementException ( ) ; if ( stackIndex >= stack . size ( ) ) { stackIndex = 0 ; do { try { stack = getTextAnnotationsFromFile ( fileList . get ( fileIndex ++ ) ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new NoSuchElementException ( e . getMessage ( ) ) ; } } while ( stack . isEmpty ( ) && fileIndex < fileList . size ( ) ) ; } TextAnnotation returnTa = stack . get ( stackIndex ++ ) ; return returnTa ; }
target:  Returns the next element in the iteration.