I've got a nested loop construct like this:
for (Type type : type1) {
    for (Type t : type2) {
         if (some condition) {
             // Do something and break...
             break; // Breaks out of the inner loop
         }
    }
}
I have to break out of the loop how can I do that please help. Thank you in advance