com.googlecode.jinahya.util.fsm
Class Transition
java.lang.Object
com.googlecode.jinahya.util.fsm.Transition
public class Transition
- extends Object
- Author:
- Jin Kwon
Transition
public Transition(State source,
State target)
- Creates a new instance.
- Parameters:
source - source statetarget - target state
getSource
public final State getSource()
- Returns the source state.
- Returns:
- source state
getTarget
public final State getTarget()
- Returns the target state.
- Returns:
- target state
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.