I\'ve got a nested loop construct like this:
for (Type type : types) { for (Type t : types2) { if (some condition) { // Do somethin
I never use labels. It seems like a bad practice to get into. Here's what I would do:
boolean finished = false; for (int i = 0; i < 5 && !finished; i++) { for (int j = 0; j < 5; j++) { if (i * j > 6) { finished = true; break; } } }