code: public static <T> StreamEx<T> generate(Supplier<T> s) {
          return new StreamEx<>(Stream.generate(s), StreamContext.SEQUENTIAL);
      }
docs: Returns an infinite sequential unordered {@code StreamEx} where each
  element is generated by the provided {@link Supplier}. This is suitable
  for generating constant streams, streams of random elements, etc.
  
  @param <T> the type of stream elements
  @param s the {@code Supplier} of generated elements
  @return a new infinite sequential unordered {@code StreamEx}
  @see Stream#generate(Supplier)
  @see EntryStream#generate(Supplier, Supplier)