...
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
for
statement of the form
Code Block for (ObjType obj : someIterableItem) { // ... }is equivalent to a basic
for
loop 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="686676b42a094439-b685aae7-41a54052-b470b81a-81a3c081641bb6d3514c79bc"><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> |
...