void cleanField (FieldCleaner cleaner) { //??? Should I prevent the same cleaner from running twice? ListIterator it = values.listIterator (); while (it.hasNext()) { String rawValue = (String) it.next (); it.remove (); it.add (cleaner.cleanFieldValue (rawValue)); } }
void cleanField (FieldCleaner cleaner) { //??? Should I prevent the same cleaner from running twice? ListIterator it = values.listIterator (); while (it.hasNext()) { String rawValue = (String) it.next (); it.remove (); it.add (cleaner.cleanFieldValue (rawValue)); } }
void cleanField (FieldCleaner cleaner) { //??? Should I prevent the same cleaner from running twice? ListIterator it = values.listIterator (); while (it.hasNext()) { String rawValue = (String) it.next (); it.remove (); it.add (cleaner.cleanFieldValue (rawValue)); } }