public void deleteStates ( Collection < MutableState > statesToDelete ) { if ( statesToDelete . isEmpty ( ) ) { return ; } for ( MutableState state : statesToDelete ) { deleteState ( state ) ; } remapStateIds ( ) ; }
Deletes the given states and remaps the existing state ids