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, toStringpublic CharacterRunAutomaton(Automaton a)
public boolean run(String s)
public boolean run(char[] s,
int offset,
int length)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.