|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.util.fsm.FSMTransition
public class FSMTransition
| Field Summary | |
|---|---|
IntDomain |
domain
It specifies the domain associated with the transition. |
FSMState |
successor
It specifies the successor state we arrive to after taking the transition. |
static java.lang.String[] |
xmlAttributes
It specifies the arguments required to be saved by an XML format as well as the constructor being called to recreate an object from an XML format. |
| Constructor Summary | |
|---|---|
FSMTransition(IntDomain domain,
FSMState state)
It constructs a finite machine state transition. |
|
| Method Summary | |
|---|---|
FSMTransition |
deepClone(java.util.HashSet<FSMState> states)
It performs a clone of a transition with copying the attributes too. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public IntDomain domain
public FSMState successor
public static java.lang.String[] xmlAttributes
| Constructor Detail |
|---|
public FSMTransition(IntDomain domain,
FSMState state)
domain - the domain which triggers the transition.state - the successor state reached by a transition.| Method Detail |
|---|
public FSMTransition deepClone(java.util.HashSet<FSMState> states)
states - a list of states which have been already copied.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||