|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
S - the type of states the transition is betweenL - the type of label this transition carries.public interface StateTransition<S,L>
State transitions are aggregated into graphs by StateGraph
objects. Note that the states and labels for transitions are never permitted
to be null. If labels are not required, a singleton class instance can be
used (ie. a simplified null object pattern) to provide the same label for all
transitions in a graph.
| Method Summary | |
|---|---|
L |
getLabel()
The label with which the transition is decorated. |
S |
getSource()
The state away from which the transition is directed. |
S |
getTarget()
The state towards which the transition is directed. |
| Method Detail |
|---|
S getSource()
L getLabel()
S getTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||