public class Automaton_Pattern extends AutomatonSet_String
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
Automaton_Pattern.IPState |
protected class |
Automaton_Pattern.LinkedSet_PState |
protected static class |
Automaton_Pattern.PProperties |
protected class |
Automaton_Pattern.PState |
AutomatonSet_String.ISState, AutomatonSet_String.ISStateChangedListener, AutomatonSet_String.LinkedSet_SState, AutomatonSet_String.SProperties, AutomatonSet_String.SStateAutomaton.IChangedListener, Automaton.IState, Automaton.IStateChangedListener, Automaton.IStateVisitedListener, Automaton.ITransitionVisitedListener, Automaton.LinkedSet_State, Automaton.State, Automaton.Wrapper_State| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
regEx |
protected com.karneim.util.collection.regex.PScanner |
scanner |
fullSet, FULLSETaStates, automatonNr, currentStateNr, FALSE, isDeterministic, listeners, startState, TRUE, UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
Automaton_Pattern() |
protected |
Automaton_Pattern(ISet_char fullSet) |
protected |
Automaton_Pattern(java.lang.String regEx) |
addChangedListener, addState, cloneState, cloneStates, concatAll, concatAll, makeDeterministic, minimize, minus, optional, removeAll, removeChangedListener, removeState, retainAll, setDeterministic, setStartStateaddState, addState, removeUnreachableStates, setDeterminstic, toStringprotected java.lang.String regEx
protected com.karneim.util.collection.regex.PScanner scanner
protected Automaton_Pattern(ISet_char fullSet)
protected Automaton_Pattern()
protected Automaton_Pattern(java.lang.String regEx)
protected Automaton.State getStartState()
getStartState in class AutomatonSet_Stringprotected Automaton.State createState()
createState in class AutomatonSet_Stringprotected AutomatonSet_String.SState createState(boolean isFinal)
createState in class AutomatonSet_Stringprotected Automaton.LinkedSet_State newLinkedSet_State()
newLinkedSet_State in class AutomatonSet_Stringprotected Automaton.LinkedSet_State newLinkedSet_State(Automaton.State state)
newLinkedSet_State in class AutomatonSet_Stringprotected void setStartState(AutomatonSet_String.SState state)
protected AutomatonSet_String.SState addState(boolean isFinal)
addState in class AutomatonSet_Stringprotected boolean removeState(Automaton_Pattern.PState removeState)
protected void clear()
clear in class AutomatonSet_Stringprotected Automaton.LinkedSet_State getStates()
getStates in class AutomatonSet_Stringprotected void minimize()
minimize in class AutomatonSet_Stringprotected void removeUselessStates()
removeUselessStates in class AutomatonSet_Stringprotected void addAll(AutomatonSet_String.SState state)
addAll in class AutomatonSet_Stringprotected AutomatonSet_String.SState complement(AutomatonSet_String.SState state)
complement in class AutomatonSet_Stringprotected AutomatonSet_String.SState concat(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
concat in class AutomatonSet_Stringprotected AutomatonSet_String.SState repeat(AutomatonSet_String.SState state, int minTimes, int maxTimes)
repeat in class AutomatonSet_Stringprotected AutomatonSet_String.SState union(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
union in class AutomatonSet_Stringprotected AutomatonSet_String.SState intersect(AutomatonSet_String.SState state_A, AutomatonSet_String.SState state_B)
intersect in class AutomatonSet_Stringprotected void complement()
complement in class AutomatonSet_Stringprotected void addAll(java.lang.String regEx)
protected void retainAll(java.lang.String regEx)
protected void removeAll(java.lang.String regEx)
protected boolean isDeterministic()
isDeterministic in class AutomatonSet_Stringprotected boolean isDeterministic(Automaton.State startState)
isDeterministic in class Automatonprotected void addAll(AutomatonSet_String automaton)
addAll in class AutomatonSet_Stringprotected void retainAll(AutomatonSet_String automaton)
retainAll in class AutomatonSet_Stringprotected void removeAll(AutomatonSet_String automaton)
removeAll in class AutomatonSet_Stringprotected java.lang.Object clone()
clone in class AutomatonSet_Stringprotected AutomatonSet_String.SState parseRegEx(java.lang.String regEx) throws InvalidExpression
InvalidExpressionprotected com.karneim.util.collection.regex.PScanner newScanner()