Iterator<E> Interface
The Iterator class provides methods to iterate over an object. It is transparently used by the for-in construct to test for the end of the iteration, and to get the elements.
Implemented by
HashSetIterator<E>, ListIterator<T>, Utf16CodeUnitDecoder, Utf8Decoder
Methods
Code E next() #
Gets the next element in the iteration. Throws a NoMoreElementsException if no element is left.
E next();