E - type of element of the listpublic class IteratorImpl<E> extends Object implements Iterator<E>
Iterator| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNext()Returns true if the iteration has more elements. | 
| E | next()Returns the next element in the iteration. | 
| void | remove()Removes from the underlying collection the last element returned by this iterator. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public E next()