Package org.apache.lucene.util.automaton
Class CharacterRunAutomaton
- java.lang.Object
-
- org.apache.lucene.util.automaton.RunAutomaton
-
- org.apache.lucene.util.automaton.CharacterRunAutomaton
-
public class CharacterRunAutomaton extends RunAutomaton
Automaton representation for matching char[].
-
-
Constructor Summary
Constructors Constructor Description CharacterRunAutomaton(Automaton a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
run(char[] s, int offset, int length)
Returns true if the given string is accepted by this automatonboolean
run(java.lang.String s)
Returns true if the given string is accepted by this automaton.-
Methods inherited from class org.apache.lucene.util.automaton.RunAutomaton
equals, getCharIntervals, getInitialState, getSize, hashCode, isAccept, step, toString
-
-
-
-
Constructor Detail
-
CharacterRunAutomaton
public CharacterRunAutomaton(Automaton a)
-
-