Use Java 5 enhanced for loops.