dsto.dfc.collections
Class EnumerationIterator
java.lang.Object
dsto.dfc.collections.EnumerationIterator
- All Implemented Interfaces:
- Iterator
public final class EnumerationIterator
- extends Object
- implements Iterator
Wraps a legacy Enumeration in an Iterator.
- Version:
- $Revision$
- See Also:
IteratorEnumeration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationIterator
public EnumerationIterator(Enumeration enumeration)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
throws UnsupportedOperationException
- Specified by:
remove
in interface Iterator
- Throws:
UnsupportedOperationException
Copyright © 2008 Commonwealth of Australia