It would look something like this. Very crufty.
for (Iterator<String> i = someList.iterator(); i.hasNext(); ) System.out.println(i.next());
There is a good writeup on for each in the Sun documentation.
It would look something like this. Very crufty.
for (Iterator<String> i = someList.iterator(); i.hasNext(); ) System.out.println(i.next());
There is a good writeup on for each in the Sun documentation.