I\'ve an ArrayList in Java of my class \'Bomb\'.
This class has a method \'isExploded\', this method will return true if the bomb has been exploded, else false.
If you use Java 5, use generics:
List bombGrid = ...; for (Iterator i = bombGrid.iterator(); i.hasNext();) { if (i.next().isExploded()) { i.remove(); } }