info.informatica.util
Class EnumerationWrapper

java.lang.Object
  extended by info.informatica.util.EnumerationWrapper
All Implemented Interfaces:
Enumeration

public final class EnumerationWrapper
extends Object
implements Enumeration

Wraps an Iterator with an Enumeration.

Author:
Carlos Amengual

Constructor Summary
EnumerationWrapper(Iterator it)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationWrapper

public EnumerationWrapper(Iterator it)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration