...
| Wiki Markup |
|---|
As detailed in the JLS, [§14.14.2, "The Enhanced For Statement" |http://java.sun.com/docs/books/jls/third_edition/html/statements.html#14.14.2] \[[JLS 2005|AA. Bibliography#JLSReferences#JLS 05]\]: |
An enhanced
forstatement of the form
Code Block for (ObjType obj : someIterableItem) { // ... }is equivalent to a basic
forloop of the form
Code Block for (Iterator myIterator = someIterableItem.iterator(); myIterator.hasNext();) { ObjType obj = myIterator.next(); // ... }
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9c527fdac30bee37-68fa51fd-499046fc-800aa945-704a576f7f5e493b79813208"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS References#JLS 05]] | [§14.14.2,The Enhanced | http://java.sun.com/docs/books/jls/third_edition/html/statements.html#14.14.2] | ]]></ac:plain-text-body></ac:structured-macro> |
...