When the enhanced for loop (foreach loop) was added to Java, it was made to work with a target of either an array or Iterable.
Iterable
for ( T item : /*
The Apache Commons Collections API has a class called IteratorIterable to do exactly this:
Iterator iter; for (X item : new IteratorIterable(iter)) { ... }