railo.cli.util
Class EnumerationWrapper

java.lang.Object
  extended by railo.cli.util.EnumerationWrapper
All Implemented Interfaces:
Enumeration

public final class EnumerationWrapper
extends Object
implements Enumeration

class to make a enumaration from a ser, map or iterator


Constructor Summary
EnumerationWrapper(Iterator it)
           
EnumerationWrapper(Map map)
           
EnumerationWrapper(Set set)
           
 
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(Map map)
Parameters:
map - Constructor with a Map

EnumerationWrapper

public EnumerationWrapper(Set set)
Parameters:
set - Constructor with a Set

EnumerationWrapper

public EnumerationWrapper(Iterator it)
Parameters:
it - Constructor with a iterator
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration
See Also:
Enumeration.hasMoreElements()

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration
See Also:
Enumeration.nextElement()


Copyright © 2012 Railo