I'm looking for a way to convert an Iterable into a Stream in a lazy fashion in Java 8. Does anyone know of a nice way to do this Java 8?
What I've tried so far is:
StreamSupport.stream(myIterable.spliterator(), false);
Is this the best way to do it?