net.ontopia.utils
Class EnumerationIterator<E>
java.lang.Object
net.ontopia.utils.EnumerationIterator<E>
- All Implemented Interfaces:
- Iterator<E>
public class EnumerationIterator<E>
- extends Object
- implements Iterator<E>
INTERNAL: A wrapper class for traversing enumerations as iterators.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enumeration
protected Enumeration<E> enumeration
EnumerationIterator
public EnumerationIterator(Enumeration<E> enumeration)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<E>
next
public E next()
- Specified by:
next
in interface Iterator<E>
remove
public void remove()
- Specified by:
remove
in interface Iterator<E>
Copyright © 2000-2012 Ontopia.