org.codehaus.janino.util.iterator
Class EnumerationIterator
java.lang.Object
org.codehaus.janino.util.iterator.EnumerationIterator
- All Implemented Interfaces:
- Iterator
- public class EnumerationIterator
- extends Object
- implements Iterator
An Iterator
that iterates over the elements of an
Enumeration
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationIterator
public EnumerationIterator(Enumeration e)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator