Package io.toro.martini.util
Class CompoundEnumeration
- java.lang.Object
-
- io.toro.martini.util.CompoundEnumeration
-
- All Implemented Interfaces:
Enumeration<URL>
public class CompoundEnumeration extends Object implements Enumeration<URL>
A compound URL enumeration.
-
-
Constructor Summary
Constructors Constructor Description CompoundEnumeration(List<Enumeration<URL>> enumerations)Creates a compound enumeration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()URLnextElement()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Constructor Detail
-
CompoundEnumeration
public CompoundEnumeration(List<Enumeration<URL>> enumerations)
Creates a compound enumeration.- Parameters:
enumerations- The enumerations to represent.
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration<URL>
-
nextElement
public URL nextElement()
- Specified by:
nextElementin interfaceEnumeration<URL>
-
-