add a valid transition from one state to one or more states concode_field_sep Map<T,Set<T>> transitions concode_elem_sep T currentState concode_field_sep StateMachine<T> next concode_elem_sep void nextOrStay concode_elem_sep StateMachine<T> of concode_elem_sep boolean is concode_elem_sep String toString
StateMachine < T > function ( T arg0 , T arg1 , T ... arg2 ) { transitions . put ( arg0 , EnumSet . of ( arg1 , arg2 ) ) ; return this ; }