/** * Creates a non-parallel {@link Stream} of the underlying {@link Iterable}. * * @return will never be {@literal null}. */ default Stream<T> stream() { return StreamSupport.stream(spliterator(), false); }
/** * Creates a non-parallel {@link Stream} of the underlying {@link Iterable}. * * @return will never be {@literal null}. */ default Stream<T> stream() { return StreamSupport.stream(spliterator(), false); }