fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/file/RecursiveFileSelector.java
@Override
	public final File next() {
		if (files == null || fileIndex >= files.length) {
			if (!cacheNext()) {
				throw new NoSuchElementException();
			}
		}
		return files[fileIndex++];
	}
@Override
	public final File next() {
		if (files == null || fileIndex >= files.length) {
			if (!cacheNext()) {
				throw new NoSuchElementException();
			}
		}
		return files[fileIndex++];
	}
@ Override public final File next ( ) { if ( files == null || fileIndex >= files . length ) { if ( ! cacheNext ( ) ) { throw new NoSuchElementException ( ) ; } } return files [ fileIndex ++ ] ; }
Returns the next matching file.

@return the next element in the iteration.
@throws NoSuchElementException iteration has no more elements
Returns the next matching file .