docs: public static <T> PatternStream<T> pattern(
  			DataStream<T> input,
  			Pattern<T, ?> pattern,
  			EventComparator<T> comparator) {
  		final PatternStream<T> stream = new PatternStream<>(input, pattern);
  		return stream.withComparator(comparator);
  	}