Class FasterPattern

  • All Implemented Interfaces:
    AddsToRuleKey

    public abstract class FasterPattern
    extends Object
    implements AddsToRuleKey
    Pattern-like object which is compatible with Pattern but faster at handling simpler patterns like .*foo.*.
    • Method Detail

      • matches

        public abstract boolean matches​(String s)
        Check if this pattern matches given string.