I\'ve got a nested loop construct like this:
for (Type type : types) { for (Type t : types2) { if (some condition) { // Do somethin
If it is inside some function why don't you just return it:
for (Type type : types) { for (Type t : types2) { if (some condition) { return value; } } }