Package | Description |
---|---|
com.karneim.util.collection.set |
Modifier and Type | Class and Description |
---|---|
protected class |
SAutomaton.StatePro |
Modifier and Type | Field and Description |
---|---|
IStatePro |
StateProSet.Wrapper_State.state |
Modifier and Type | Method and Description |
---|---|
IStatePro |
SAutomaton.addState()
Adds a new non final state to this automaton.
|
IStatePro |
SAutomaton.addState(boolean isFinal)
Adds a new final or non final state to this automaton.
|
IStatePro |
IStatePro.ITransition.getFromState() |
IStatePro |
SAutomaton.Transition.getFromState() |
IStatePro |
SAutomaton.getStartState()
Returns the current start state of the automaton.
|
IStatePro |
IStatePro.ITransition.getToState() |
IStatePro |
SAutomaton.Transition.getToState() |
IStatePro |
StateProSet.Iterator.next() |
Modifier and Type | Method and Description |
---|---|
boolean |
StateProSet.add(IStatePro state) |
IStatePro.ITransition |
IStatePro.addTransition(ISet_char charSet,
IStatePro toState)
Adds a new transition to this state.
|
IStatePro.ITransition |
SAutomaton.StatePro.addTransition(ISet_char charSet,
IStatePro toState) |
boolean |
StateProSet.contains(IStatePro state) |
void |
IStatePro.IChangeListener.isFinalChanged(IStatePro state,
boolean isFinal)
The state invokes this method on all registered listener if it's final property is changed.
|
boolean |
StateProSet.remove(IStatePro state) |
boolean |
SAutomaton.removeState(IStatePro state)
Removes the specified state from this automaton.
|
void |
SAutomaton.setStartState(IStatePro state)
Sets the automaton's start state to the specified state.
|
void |
SAutomaton.IChangeListener.startStateChanged(IStatePro oldStartState,
IStatePro newStartState)
The Automaton invokes this method on all registered listener if the automaton's current startState has been changed.
|
void |
SAutomaton.IChangeListener.stateAdded(IStatePro state)
The Automaton invokes this method on all registered listener if a new state has been added to the automaton.
|
void |
SAutomaton.IChangeListener.stateRemoved(IStatePro state)
The Automaton invokes this method on all registered listener if an existing state has been removed from the automaton.
|
void |
IStatePro.IVisitListener.stateUnVisited(IStatePro state) |
void |
IStatePro.IVisitListener.stateVisited(IStatePro state)
The state invokes this method on all registered listener if it is visited through an epsilon transition.
|
void |
IStatePro.IVisitListener.stateVisited(IStatePro state,
char ch)
The state invokes this method on all registered listener if it is visited through an transition with char ch.
|
Constructor and Description |
---|
StateProSet(IStatePro state) |
Wrapper_State(IStatePro state) |