code: @NotNull
      public static DoubleStream generate(@NotNull final DoubleSupplier s) {
          Objects.requireNonNull(s);
          return new DoubleStream(new DoubleGenerate(s));
      }
docs: Creates a {@code DoubleStream} by elements that generated by {@code DoubleSupplier}.
  
  @param s  the {@code DoubleSupplier} for generated elements
  @return a new infinite sequential {@code DoubleStream}
  @throws NullPointerException if {@code s} is null