code: @NotNull
      public static DoubleStream of(@NotNull PrimitiveIterator.OfDouble iterator) {
          Objects.requireNonNull(iterator);
          return new DoubleStream(iterator);
      }
docs: Creates a {@code DoubleStream} from {@code PrimitiveIterator.OfDouble}.
  
  @param iterator  the iterator with elements to be passed to stream
  @return the new {@code DoubleStream}
  @throws NullPointerException if {@code iterator} is null