saffron.runtime
Class EnumerationIterator

java.lang.Object
  |
  +--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/main/saffron/runtime/EnumerationIterator.java#1 $
Author:
jhyde

Field Summary
(package private)  Enumeration enumeration
           
 
Constructor Summary
EnumerationIterator(Enumeration enumeration)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enumeration

Enumeration enumeration
Constructor Detail

EnumerationIterator

public EnumerationIterator(Enumeration enumeration)
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

SourceForge.net_Logo