public class MatchEnd extends Matches
| Constructor and Description |
|---|
MatchEnd() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(char[] operand,
int cursorPos)
This object was created to mark the end of the pattern.
|
java.lang.String |
toString() |
public boolean matches(char[] operand,
int cursorPos)
matches in class Matchesoperand - The operand String coverted to a character array.cursorPos - From where to make the comparison to this node.AnyMatch.matches(char[], int),
SingleMatch.matches(char[], int),
MatchEnd.matches(char[], int)