Package net.bytebuddy.dynamic.loading
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 ornull
if no such enumeration is currently selected.private final List<Enumeration<URL>>
The remaining lists of enumerations.private static final int
Indicates the first index of a list. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CompoundEnumeration
(List<Enumeration<URL>> enumerations) Creates a compound enumeration. -
Method Summary
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
-
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 ornull
if 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:
hasMoreElements
in interfaceEnumeration<URL>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<URL>
-