jodd-core/src/main/java/jodd/util/CollectionUtil.java
public static <T> Stream<T> parallelStreamOf(final Iterator<T> iterator) {
		return StreamSupport.stream(((Iterable<T>) () -> iterator).spliterator(), true);
	}
public static <T> Stream<T> parallelStreamOf(final Iterator<T> iterator) {
		return StreamSupport.stream(((Iterable<T>) () -> iterator).spliterator(), true);
	}
Wraps an iterator as a stream.