Class CompositeEnumeration
- java.lang.Object
-
- com.sun.enterprise.module.common_impl.CompositeEnumeration
-
- All Implemented Interfaces:
java.util.Enumeration<java.net.URL>
public class CompositeEnumeration extends java.lang.Object implements java.util.Enumeration<java.net.URL>We need a compound enumeration so that we can aggregate the results from various delegates.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Enumeration<java.net.URL>[]enumerators(package private) intindex
-
Constructor Summary
Constructors Constructor Description CompositeEnumeration(java.util.List<java.util.Enumeration<java.net.URL>> enumerators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.Enumeration<java.net.URL>getCurrent()booleanhasMoreElements()java.net.URLnextElement()
-
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfacejava.util.Enumeration<java.net.URL>
-
nextElement
public java.net.URL nextElement()
- Specified by:
nextElementin interfacejava.util.Enumeration<java.net.URL>
-
getCurrent
private java.util.Enumeration<java.net.URL> getCurrent()
-
-