|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jinahya.util.fsm.Transition
public class Transition
Transition between states.
| Constructor Summary | |
|---|---|
Transition(State source,
State target)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
State |
getSource()
Returns the source state. |
State |
getTarget()
Returns the target state. |
int |
hashCode()
|
boolean |
matchesAll(List<TransitionMatcher> matchers)
Checks if this transition matches all of given matchers. |
boolean |
matchesAll(TransitionMatcher... matchers)
checks if this transition matches all of given matchers. |
boolean |
matchesAny(List<TransitionMatcher> matchers)
Checks if this transition matches any of given matchers. |
boolean |
matchesAny(TransitionMatcher... matchers)
Checks if this transition matches any of given matchers. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Transition(State source,
State target)
source - source statetarget - target state| Method Detail |
|---|
public final State getSource()
public final State getTarget()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean matchesAny(TransitionMatcher... matchers)
matchers.
matchers - matchers
public boolean matchesAny(List<TransitionMatcher> matchers)
matchers.
matchers - matchers
public boolean matchesAll(TransitionMatcher... matchers)
matchers.
matchers - matchers
public boolean matchesAll(List<TransitionMatcher> matchers)
matchers.
matchers - matchers
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||