protected State removeState(State state)
protected boolean removeState(State state)
    protected State removeState(State state)    {        // Since we do a name-based lookup, and multiple        // states from multiple processes might have the        // same name, we must first ensure that we're truly        // attempting to remove the same state that's been        // passed in as a parameter.                State removed = getState( state.getName() );        if ( removed == state )        {            return (State) this.states.remove( removed.getName() );        }        return null;    }