public static < A , S > Transition < A , S > create ( S fromState , A action , S toState ) { return new Transition < A , S > ( fromState , action , toState ) ; }
Instantiates a transition specifying an action the origin and destination states .