經安全檢測,此網站為安全網站,請放心前往原始網址!

Breaking out of nested loops in Java - Stack Overflow

for (Type type : types) { for (Type t : types2) { if (some condition) { // Do ... (EDIT: Like other answerers, I'd definitely prefer to put the inner loop in a different method.

stackoverflow.com

網址安全性掃描由 google 提供