ListIterator i = epeople.listIterator();   while(i.hasNext()) { EPerson e2 = (EPerson)i.next();  if( e.getID() == e2.getID() ) {  i.remove(); epeoplechanged = true; } }
if (epeople.remove(e)) epeoplechanged = true;
    public void removeMember(EPerson e)    {        ListIterator i = epeople.listIterator();        // find and remove the eperson        while(i.hasNext())        {            EPerson e2 = (EPerson)i.next();            if( e.getID() == e2.getID() )            {                // match, remove, and set epeople changed flag                i.remove();                epeoplechanged = true;            }        }    }