private void removeMembers(List<String> members){
  if (members.isEmpty()) {
    return;
  }
  int startIndex=-1;
  int endIndex=-1;
  for (  String name : members) {
    Member member=memberMap.remove(name);
    int index=memberList.indexOf(member);
    memberList.remove(index);
    if (startIndex == -1) {
      startIndex=index;
      endIndex=index;
    }
 else {
      startIndex=Math.min(startIndex,index);
      endIndex=Math.max(endIndex,index);
    }
  }
  fireIntervalRemoved(this,startIndex,endIndex);
}

private void removeMembers ( List < String > members ) { if ( members . isEmpty ( ) ) { return ; } int startIndex = - 1 ; int endIndex = - 1 ; for ( String name : members ) { Member member = memberMap . remove ( name ) ; int index = memberList . indexOf ( member ) ; memberList . remove ( index ) ; if ( startIndex == - 1 ) { startIndex = index ; endIndex = index ; } else { startIndex = Math . min ( startIndex , index ) ; endIndex = Math . max ( endIndex , index ) ; } } fireIntervalRemoved ( this , startIndex , endIndex ) ; }
remove a group of members .
