So you woke up today and you want to delete values from a map, as you loop through the map (For whatever reason). So you right this is groovy
Code
Output
[a,b,c]
Wrong !!!!
You actually get a
ConcurrentModificationException.... hahaha :D <- This is me laughing at you. So you need to
No comments:
Post a Comment