Good catch, Cornix. I didn't look past the for() loop.
Type: Posts; User: GregBrannon
Good catch, Cornix. I didn't look past the for() loop.
Typically, a while() loop is used with an iterator:
Iterator<Person> r = setOfPersons.iterator();
while ( r.hasNext() ) { // code here }
Why the for() loop?