org.sakaiproject.cheftool
Class EnumerationIterator

java.lang.Object
  extended byorg.sakaiproject.cheftool.EnumerationIterator
All Implemented Interfaces:
Iterator

public class EnumerationIterator
extends Object
implements Iterator

EnumerationIterator is an iterator over an enumeration.

Version:
$Revision: 632 $
Author:
University of Michigan, CHEF Software Development Team

Field Summary
protected  Enumeration m_enum
          The enumeration over which this iterates.
 
Constructor Summary
EnumerationIterator(Enumeration e)
           
 
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

m_enum

protected Enumeration m_enum
The enumeration over which this iterates.

Constructor Detail

EnumerationIterator

public EnumerationIterator(Enumeration e)
Method Detail

next

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

hasNext

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

remove

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