ilya.gorbunov
val iterator = arrayList.iterator() for (element in iterator) { if (element_matches_condition) iterator.remove() }