public static final class SequentialMatchers.SimpleSequentialMatchers extends SequentialMatchers
SequentialMatchers.Builder, SequentialMatchers.SimpleSequentialMatchers, SequentialMatchers.UTF16Or32SequentialMatchers, SequentialMatchers.UTF16RawSequentialMatchers, SequentialMatchers.UTF8SequentialMatchers| Constructor and Description |
|---|
SimpleSequentialMatchers(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 SimpleSequentialMatchers(CharMatcher[] matchers, short noMatchSuccessor)
public CharMatcher[] getMatchers()
public int size()
SequentialMatcherssize in class SequentialMatcherspublic boolean match(int i,
int c)
SequentialMatcherstrue iff transition i matches c.match in class SequentialMatcherspublic String toString(int i)
SequentialMatchersi.toString in class SequentialMatchers