code: @NotNull
      public static DoubleStream of(@NotNull final double... values) {
          Objects.requireNonNull(values);
          if (values.length == 0) {
              return DoubleStream.empty();
          }
          return new DoubleStream(new DoubleArray(values));
      }
docs: Creates a {@code DoubleStream} from the specified values.
  
  @param values  the elements of the new stream
  @return the new stream
  @throws NullPointerException if {@code values} is null