net.sf.saffron.runtime
Class EnumerationIterator
java.lang.Object
|
+--net.sf.saffron.runtime.EnumerationIterator
- All Implemented Interfaces:
- Iterator
- public class EnumerationIterator
- extends Object
- implements Iterator
EnumerationIterator
is an adapter which converts an Enumeration
into an Iterator
.
- Since:
- 16 December, 2001
- Version:
- $Id: //open/saffron/src/net/sf/saffron/runtime/EnumerationIterator.java#2 $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enumeration
Enumeration enumeration
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()
- Specified by:
remove
in interface Iterator