@SuppressWarnings("unchecked")
	public static <T> Iterable<T> iter(Stream<? extends T> stream) {
		return () -> (Iterator<T>) stream.iterator();
	}
Adapt a stream into an iterable

@param <T> the type of elements
@param stream the stream
@return an iterable over the same elements in the stream in the same order
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/StreamUtils.java