public void removeMember ( FormationMember < T > member ) { // Find the member's slot int slot = findMemberSlot ( member ) ; // Make sure we've found a valid result if ( slot >= 0 ) { // Remove the slot // slotAssignments.removeIndex(slot); slotAssignmentStrategy . removeSlotAssignment ( slotAssignments , slot ) ; // Update the assignments updateSlotAssignments ( ) ; } }
Removes a member from its slot and updates slot assignments .