48495051525354
public static PatternComponent sequence(Object... elements) { return new Sequence(toPatterns(elements)); } public static PatternComponent optional(Object o) { return new Optional(toPattern(o)); }