public abstract class SequentialMatchers extends Matchers
| Modifier and Type | Class and Description |
|---|---|
static class |
SequentialMatchers.Builder |
static class |
SequentialMatchers.SimpleSequentialMatchers |
static class |
SequentialMatchers.UTF16Or32SequentialMatchers |
static class |
SequentialMatchers.UTF16RawSequentialMatchers |
static class |
SequentialMatchers.UTF8SequentialMatchers |
| Modifier and Type | Method and Description |
|---|---|
short |
getNoMatchSuccessor() |
int |
match(int c)
Returns the index of the transition that matches the given character
c, or
noMatchSuccessor. |
abstract boolean |
match(int i,
int c)
Returns
true iff transition i matches c. |
abstract int |
size()
Returns the number of transitions represented by this object.
|
abstract String |
toString(int i)
Returns a String representation of transition
i. |
public short getNoMatchSuccessor()
public abstract int size()
public abstract boolean match(int i,
int c)
true iff transition i matches c.public int match(int c)
c, or
noMatchSuccessor. For debugging purposes.public abstract String toString(int i)
i.