Possible Duplicate:
Breaking out of nested loops in Java
How can I use break and/or continue statements to return to the first line of the while loop at points 1, 2 and 3, for example, as indicated in the pseudocode?
Suppose I have a scenario reminiscent of the following:
while(condition) {
    // want to return to this point
    for (Integer x : xs) {
        // point 1
        for (Integer y : ys) {
            // point 2
            ...
        }
        ...
    }
    for (Integer a : as) {
        for (Integer b : bs) {
            // point 3
            ...
        }
        ...
    }
}
 
     
     
     
     
     
     
    