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

Is there a way to access an iteration-counter in Java's for-each loop? - Stack Overflow

Is there a way in Java's for-each loop for(String s : stringArray) { doSomethingWith(s); } to find out how often the loop has already been processed? Aside from using using the old and ...

stackoverflow.com

網址安全性掃描由 google 提供