public static <T> Stream<T> asStream(Iterator<T> iterator) {
		return asStream(asIterable(iterator));
	}
Turns the given iterator into a stream

@param iterator the iterator
@return the stream
Ghidra/Framework/Generic/src/main/java/util/CollectionUtils.java