Class MultipleParentClassLoader.CompoundEnumeration
java.lang.Object
net.bytebuddy.dynamic.loading.MultipleParentClassLoader.CompoundEnumeration
- All Implemented Interfaces:
Enumeration<URL>
- Enclosing class:
MultipleParentClassLoader
protected static class MultipleParentClassLoader.CompoundEnumeration
extends Object
implements Enumeration<URL>
A compound URL enumeration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Enumeration<URL> The currently represented enumeration ornullif no such enumeration is currently selected.private final List<Enumeration<URL>> The remaining lists of enumerations.private static final intIndicates the first index of a list. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCompoundEnumeration(List<Enumeration<URL>> enumerations) Creates a compound enumeration. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Enumeration
asIterator
-
Field Details
-
FIRST
private static final int FIRSTIndicates the first index of a list.- See Also:
-
enumerations
The remaining lists of enumerations. -
current
The currently represented enumeration ornullif no such enumeration is currently selected.
-
-
Constructor Details
-
CompoundEnumeration
Creates a compound enumeration.- Parameters:
enumerations- The enumerations to represent.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<URL>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<URL>
-