make a copy of the statemachine maintaining the current state . concode_field_sep String description concode_elem_sep State currentState concode_elem_sep State startState concode_elem_sep HashSet states concode_field_sep State getStartState concode_elem_sep State getCurrentState concode_elem_sep State reset concode_elem_sep State nextState concode_elem_sep String toString concode_elem_sep Set getStates concode_elem_sep String getDescription
Object function ( ) { StateMachine loc0 = new StateMachine ( states , startState , description ) ; loc0 . currentState = currentState ; return loc0 ; }