|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use State | |
---|---|
core |
Uses of State in core |
---|
Methods in core that return State | |
---|---|
State |
FiniteStateMachine.createAnonymousState()
Creates a normal state that is automatically named. |
State |
FiniteStateMachine.createState(java.lang.String name,
StateType type)
Creates a new state of the specified type in the fsm. |
State |
FiniteStateMachine.getState(java.lang.String stateName)
|
Methods in core that return types with arguments of type State | |
---|---|
java.util.Collection<State> |
FiniteStateMachine.getFinalStates()
|
java.util.Collection<State> |
FiniteStateMachine.getInitialStates()
|
java.util.Collection<State> |
FiniteStateMachine.getStates()
|
java.util.Map<java.lang.String,java.util.ArrayList<State>> |
State.getTransitions()
|
java.util.ArrayList<State> |
State.transition(java.lang.String symbol)
Returns the successors of the state with the given symbol, null if none exist. |
Methods in core with parameters of type State | |
---|---|
void |
State.addTransition(java.lang.String symbol,
State... s)
Adds a transition to the State, the symbol is automatically added to the state's finite state machine |
StateType |
FiniteStateMachine.getType(State s)
|
boolean |
FiniteStateMachine.removeState(State toRemove)
Removes a state (also initial state and final state) from the FSM. |
boolean |
State.removeTransition(java.lang.String symbol,
State s)
|
boolean |
State.removeTransitions(State toRemove)
Removes all transitions to the given state |
void |
FiniteStateMachine.setType(State s,
StateType type)
Sets the state to the specified type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |