org.mule.module.launcher.application
Class EnumerationAdapter<T>

java.lang.Object
  extended by org.mule.module.launcher.application.EnumerationAdapter<T>
All Implemented Interfaces:
Enumeration<T>

public class EnumerationAdapter<T>
extends Object
implements Enumeration<T>

Creates an Enumeration containing all the items in a Collection


Constructor Summary
EnumerationAdapter(Collection<T> items)
           
 
Method Summary
 boolean hasMoreElements()
           
 T nextElement()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumerationAdapter

public EnumerationAdapter(Collection<T> items)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<T>

nextElement

public T nextElement()
Specified by:
nextElement in interface Enumeration<T>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.