Package org.apache.lucene.util.automaton
Class ByteRunAutomaton
- java.lang.Object
-
- org.apache.lucene.util.automaton.RunAutomaton
-
- org.apache.lucene.util.automaton.ByteRunAutomaton
-
public class ByteRunAutomaton extends RunAutomaton
Automaton representation for matching UTF-8 byte[].
-
-
Constructor Summary
Constructors Constructor Description ByteRunAutomaton(Automaton a)
ByteRunAutomaton(Automaton a, boolean utf8)
expert: if utf8 is true, the input is already byte-based
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
run(byte[] s, int offset, int length)
Returns true if the given byte array is accepted by this automaton-
Methods inherited from class org.apache.lucene.util.automaton.RunAutomaton
equals, getCharIntervals, getInitialState, getSize, hashCode, isAccept, step, toString
-
-