jodd-core/src/main/java/jodd/util/collection/CompositeIterator.java
@Override
	public boolean hasNext() {
		if (currentIterator == -1) {
			currentIterator = 0;
		}
		for (int i = currentIterator; i < allIterators.size(); i++) {
			Iterator iterator = allIterators.get(i);
			if (iterator.hasNext()) {
				currentIterator = i;
				return true;
			}
		}
		return false;
	}
@Override
	public boolean hasNext() {
		if (currentIterator == -1) {
			currentIterator = 0;
		}
		for (int i = currentIterator; i < allIterators.size(); i++) {
			Iterator iterator = allIterators.get(i);
			if (iterator.hasNext()) {
				currentIterator = i;
				return true;
			}
		}
		return false;
	}
@ Override public boolean hasNext ( ) { if ( currentIterator == - 1 ) { currentIterator = 0 ; } for ( int i = currentIterator ; i < allIterators . size ( ) ; i ++ ) { Iterator iterator = allIterators . get ( i ) ; if ( iterator . hasNext ( ) ) { currentIterator = i ; return true ; } } return false ; }
Returns <code>true</code> if next element is available.
Returns <code > true< / code > if next element is available .