private static final class GroupHead.OneCharacterPattern extends java.lang.Object implements GroupHead.CharacterPattern
Modifier and Type | Field and Description |
---|---|
private char |
expectedCharacter |
Constructor and Description |
---|
OneCharacterPattern(char c) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(char c) |
public final boolean matches(char c)
matches
in interface GroupHead.CharacterPattern
c
- the character to test