Package org.eclipse.jgit.fnmatch
Class GroupHead.OneCharacterPattern
- java.lang.Object
-
- org.eclipse.jgit.fnmatch.GroupHead.OneCharacterPattern
-
- All Implemented Interfaces:
GroupHead.CharacterPattern
- Enclosing class:
- GroupHead
private static final class GroupHead.OneCharacterPattern extends java.lang.Object implements GroupHead.CharacterPattern
-
-
Field Summary
Fields Modifier and Type Field Description private charexpectedCharacter
-
Constructor Summary
Constructors Constructor Description OneCharacterPattern(char c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(char c)
-
-
-
Method Detail
-
matches
public final boolean matches(char c)
- Specified by:
matchesin interfaceGroupHead.CharacterPattern- Parameters:
c- the character to test- Returns:
- returns true if the character matches a pattern.
-
-