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