|
Java5 iterator for loop syntax |
|
|
|
|
Wednesday, 01 April 2009 |
There is a new collections iterator loop within java.
The syntax is
for(Item theItem: Items) { ... use theItem }
you can find more info about this at http://java.sun.com/j2se/1.5.0/docs/guide/language/foreach.html
|
|
Last Updated ( Sunday, 22 November 2009 )
|