Package net.bytebuddy.dynamic.loading
Class MultipleParentClassLoader.CompoundEnumeration
- java.lang.Object
-
- net.bytebuddy.dynamic.loading.MultipleParentClassLoader.CompoundEnumeration
-
- All Implemented Interfaces:
java.util.Enumeration<java.net.URL>
- Enclosing class:
- MultipleParentClassLoader
protected static class MultipleParentClassLoader.CompoundEnumeration extends java.lang.Object implements java.util.Enumeration<java.net.URL>
A compound URL enumeration.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Enumeration<java.net.URL>
currentEnumeration
The currently represented enumeration ornull
if no such enumeration is currently selected.private java.util.List<java.util.Enumeration<java.net.URL>>
enumerations
The remaining lists of enumerations.private static int
FIRST
Indicates the first index of a list.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompoundEnumeration(java.util.List<java.util.Enumeration<java.net.URL>> enumerations)
Creates a compound enumeration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
java.net.URL
nextElement()
-
-
-
Field Detail
-
FIRST
private static final int FIRST
Indicates the first index of a list.- See Also:
- Constant Field Values
-
enumerations
private final java.util.List<java.util.Enumeration<java.net.URL>> enumerations
The remaining lists of enumerations.
-
currentEnumeration
private java.util.Enumeration<java.net.URL> currentEnumeration
The currently represented enumeration ornull
if no such enumeration is currently selected.
-
-