E
- The type of the elements returned by this iteratorpublic final class IteratorEnumeration<E> extends Object implements Enumeration<E>
The only real difference between the 2 is the naming and that Enumeration does not have the delete method.
The GNU Lesser General Public License for details.
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<E>
public E nextElement() throws NoSuchElementException
nextElement
in interface Enumeration<E>
NoSuchElementException