public StateConfiguration<TState, TTrigger> configure(TState state) {
        return new StateConfiguration<>(getOrCreateRepresentation(state), new Func2<TState, StateRepresentation<TState, TTrigger>>() {

            public StateRepresentation<TState, TTrigger> call(TState arg0) {
                return getOrCreateRepresentation(arg0);
            }
        });
    }
public StateConfiguration<TState, TTrigger> configure(TState state) {
        return new StateConfiguration<>(getOrCreateRepresentation(state), new Func2<TState, StateRepresentation<TState, TTrigger>>() {

            public StateRepresentation<TState, TTrigger> call(TState arg0) {
                return getOrCreateRepresentation(arg0);
            }
        });
    }
public StateConfiguration < TState , TTrigger > configure ( TState state ) { return new StateConfiguration <> ( getOrCreateRepresentation ( state ) , new Func2 < TState , StateRepresentation < TState , TTrigger > > ( ) { public StateRepresentation < TState , TTrigger > call ( TState arg0 ) { return getOrCreateRepresentation ( arg0 ) ; } } ) ; }
Begin configuration of the entry/exit actions and allowed transitions
when the state machine is in a particular state

@param state The state to configure
@return A configuration object through which the state can be configured
Begin configuration of the entry / exit actions and allowed transitions when the state machine is in a particular state