Java5 iterator for loop syntax
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
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
| < Prev | Next > |
|---|
