Package org.eclipse.jgit.fnmatch
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
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 interfaceGroupHead.CharacterPattern
- Parameters:
c
- the character to test- Returns:
- returns true if the character matches a pattern.
-