public class CharacterRunAutomaton extends RunAutomaton
Constructor and Description |
---|
CharacterRunAutomaton(Automaton a) |
Modifier and Type | Method and Description |
---|---|
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.
|
getCharIntervals, getInitialState, getSize, isAccept, step, toString
public CharacterRunAutomaton(Automaton a)
public boolean run(String s)
public boolean run(char[] s, int offset, int length)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.