Class CompositeEnumeration
- java.lang.Object
-
- com.sun.enterprise.module.common_impl.CompositeEnumeration
-
- All Implemented Interfaces:
Enumeration<URL>
public class CompositeEnumeration extends Object implements Enumeration<URL>
We need a compound enumeration so that we can aggregate the results from various delegates.- Author:
- Sanjeeb.Sahoo@Sun.COM
-
-
Constructor Summary
Constructors Constructor Description CompositeEnumeration(List<Enumeration<URL>> enumerators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
URL
nextElement()
-
-
-
Constructor Detail
-
CompositeEnumeration
public CompositeEnumeration(List<Enumeration<URL>> enumerators)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration<URL>
-
nextElement
public URL nextElement()
- Specified by:
nextElement
in interfaceEnumeration<URL>
-
-