for (Iterator iterator = collection .iterator(); iterator.hasNext();){ if (...){ iterator.remove(); } }