public static < S extends Iterator < ? extends T > , T > Iterator < T > iteratorOverIterators ( Iterable < S > iteratorsIterable ) { Objects . requireNonNull ( iteratorsIterable , "The iteratorsIterable is null" ) ; return new CombiningIterator < T > ( iteratorsIterable . iterator ( ) ) ; }
Returns an iterator that combines the iterators that are returned by the iterator that is returned by the given iterable .