Join Slack
Powered by
Yeah, you have to use the iterator. But it's much ...
# announcements
d
diesieben07
02/25/2018, 10:22 PM
Yeah, you have to use the iterator. But it's much nicer than in Java.
Copy code
val it = l.iterator() for (elem in it) { if (cond) it.remove() }
2
Views
Open in Slack
Previous
Next