com.x8ing.lsm4j.state
Class StaticTransition

java.lang.Object
  extended by com.x8ing.lsm4j.state.StaticTransition
Direct Known Subclasses:
ProcessableTransition

public class StaticTransition
extends java.lang.Object

Defines a transition between two states.

Author:
Patrick Heusser

Field Summary
protected  StaticState currentState
           
protected  StaticState nextState
           
 
Constructor Summary
StaticTransition(StaticState currentState, StaticState nextState)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 StaticState getCurrentState()
           
 StaticState getNextState()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

currentState

protected StaticState currentState

nextState

protected StaticState nextState
Constructor Detail

StaticTransition

public StaticTransition(StaticState currentState,
                        StaticState nextState)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCurrentState

public StaticState getCurrentState()

getNextState

public StaticState getNextState()


by Patrick Heusser