Class GroupHead.CharacterRange

java.lang.Object
org.eclipse.jgit.fnmatch.GroupHead.CharacterRange
All Implemented Interfaces:
GroupHead.CharacterPattern
Enclosing class:
GroupHead

private static final class GroupHead.CharacterRange extends Object implements GroupHead.CharacterPattern
  • Field Details

    • start

      private final char start
    • end

      private final char end
  • Constructor Details

    • CharacterRange

      CharacterRange(char start, char end)
  • Method Details

    • matches

      public final boolean matches(char c)
      Specified by:
      matches in interface GroupHead.CharacterPattern
      Parameters:
      c - the character to test
      Returns:
      returns true if the character matches a pattern.