org.apache.geronimo.kernel.classloader
Class UnionEnumeration<T>

java.lang.Object
  extended by org.apache.geronimo.kernel.classloader.UnionEnumeration<T>
All Implemented Interfaces:
Enumeration<T>

public final class UnionEnumeration<T>
extends Object
implements Enumeration<T>


Constructor Summary
UnionEnumeration(Enumeration<T> first, Enumeration<T> second)
           
UnionEnumeration(List<Enumeration<T>> enumerations)
           
 
Method Summary
 boolean hasMoreElements()
           
 T nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionEnumeration

public UnionEnumeration(List<Enumeration<T>> enumerations)

UnionEnumeration

public UnionEnumeration(Enumeration<T> first,
                        Enumeration<T> second)
Method Detail

hasMoreElements

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

nextElement

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.