code: public static <T> Stream<T> toStream(@javax.annotation.Nonnull final Iterator<T> iterator) {
      return com.simiacryptus.util.Util.toStream(iterator, 0);
    }
docs: To stream stream.
  
  @param <T>      the type parameter
  @param iterator the iterator
  @return the stream