public class ByteRunAutomaton extends RunAutomaton
Constructor and Description |
---|
ByteRunAutomaton(Automaton a)
Converts incoming automaton to byte-based (UTF32ToUTF8) first
|
ByteRunAutomaton(Automaton a,
boolean isBinary,
int maxDeterminizedStates)
expert: if isBinary 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, getCharIntervals, getSize, hashCode, isAccept, step, toString
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.