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[].
Method Summary |
boolean |
run(char[] s,
int offset,
int length)
Returns true if the given string is accepted by this automaton |
boolean |
run(String s)
Returns true if the given string is accepted by this automaton. |
CharacterRunAutomaton
public CharacterRunAutomaton(Automaton a)
run
public boolean run(String s)
- Returns true if the given string is accepted by this automaton.
run
public boolean run(char[] s,
int offset,
int length)
- Returns true if the given string is accepted by this automaton
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.