public abstract interface Iterator<E>
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Framework. Iterators differ from enumerations in two ways:

This interface is a member of the Java Collections Framework.

Parameters:
<E>    the type of elements returned by this iterator

See also:
Collection, ListIterator, Iterable

Since:  1.2