code: public static <T> Stream<T> stream(T root, Function<? super T, ? extends Stream<T>> edges)
      {
          return StreamSupport.stream(spliterator(root, edges), false);
      }
docs: Creates a stream.
  @param <T>
  @param root
  @param edges
  @return