code: public static <R> Stream<R> of(R... elements) {
          return new Stream<R>(new ArrayIterable.ArrayIterator<R>(elements));
      }
docs: Create a stream of the elements provided.
  
  @param elements elements of the new stream
  @param <R>      type of elements
  @return a new stream