|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscanner.AutomataDefinition
This class enables the description of automatas. Those definitions are described using states and transitions between those states.
Transition
,
State
Constructor Summary | |
AutomataDefinition()
Constructs a new definition. |
|
AutomataDefinition(State startingState)
Creates a new definition with the given starting state. |
Method Summary | |
void |
copyFrom(AutomataDefinition definition)
Copy the given definition to this one. |
State |
getStartingState()
Returns the starting state of this automata. |
java.lang.String |
toString()
Returns a string representation of this object. |
AutomataDefinition |
union(AutomataDefinition def)
Realize an union between this definition and the given one. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AutomataDefinition()
public AutomataDefinition(State startingState)
startingState
- The starting state of this definition.Method Detail |
public State getStartingState()
public AutomataDefinition union(AutomataDefinition def)
def
- The definition to be unioned with this one.
public void copyFrom(AutomataDefinition definition)
definition
- The definition of an automata.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |