This will help you understand it better:
for(Object o : objects){//first loop
for(int j = 0; i < y; j++){//second loop
if(something_is_true)
stop second loop , continue first loop
}
}
Am i supposed to use the continue keyword for that"?