public class ByteRunAutomaton extends RunAutomaton
accept, automaton, classmap, initial, maxInterval, points, size, transitions
Constructor and Description |
---|
ByteRunAutomaton(Automaton a)
Converts incoming automaton to byte-based (UTF32ToUTF8) first
|
ByteRunAutomaton(Automaton a,
boolean isBinary,
int maxDeterminizedStates)
expert: if utf8 is true, the input is already byte-based
|
Modifier and Type | Method and Description |
---|---|
boolean |
run(byte[] s,
int offset,
int length)
Returns true if the given byte array is accepted by this automaton
|
equals, getCharClass, getCharIntervals, getInitialState, getSize, hashCode, isAccept, step, toString