private int deleteAllContacts(Iterator<String> contactsIter){
  int totalContactsDeleted=0;
  while (contactsIter.hasNext())   totalContactsDeleted+=deleteContact(contactsIter.next());
  return totalContactsDeleted;
}

private int deleteAllContacts ( Iterator < String > contactsIter ) { int totalContactsDeleted = 0 ; while ( contactsIter . hasNext ( ) ) totalContactsDeleted += deleteContact ( contactsIter . next ( ) ) ; return totalContactsDeleted ; }
synchronously delete all contacts designated by the iterator .
