Matchers.Builder, Matchers.SimpleMatchers, Matchers.UTF16Matchers, Matchers.UTF16RawMatchers, Matchers.UTF8Matchers| Constructor and Description |
|---|
SimpleMatchers(CharMatcher[] matchers,
short noMatchSuccessor) |
| Modifier and Type | Method and Description |
|---|---|
CharMatcher[] |
getMatchers() |
boolean |
match(int i,
int c)
Returns
true iff transition i matches c. |
int |
size()
Returns the number of transitions represented by this object.
|
String |
toString(int i)
Returns a String representation of transition
i. |
getNoMatchSuccessor, matchpublic SimpleMatchers(CharMatcher[] matchers, short noMatchSuccessor)
public CharMatcher[] getMatchers()
public int size()
Matcherspublic boolean match(int i,
int c)
Matcherstrue iff transition i matches c.