Class Pattern.RepeatPattern

  • All Implemented Interfaces:
    Pattern
    Enclosing interface:
    Pattern

    public static class Pattern.RepeatPattern
    extends Pattern.OpPattern
    Pattern that matches a pattern repeated between minRepeat and maxRepeat times.
    • Field Detail

      • minRepeat

        final int minRepeat
      • maxRepeat

        final int maxRepeat
    • Constructor Detail

      • RepeatPattern

        RepeatPattern​(int minRepeat,
                      int maxRepeat,
                      Pattern pattern)