protected static class ByteArrayClassLoader.ChildFirst.PrependingEnumeration
extends java.lang.Object
implements java.util.Enumeration<java.net.URL>
Modifier and Type | Field and Description |
---|---|
private java.util.Enumeration<java.net.URL> |
enumeration
The enumeration from which the next elements should be pulled.
|
private java.net.URL |
nextElement
The next element to return from this enumeration or
null if such an element does not exist. |
Modifier | Constructor and Description |
---|---|
protected |
PrependingEnumeration(java.net.URL url,
java.util.Enumeration<java.net.URL> enumeration)
Creates a new prepending enumeration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
java.net.URL |
nextElement() |
private java.net.URL nextElement
null
if such an element does not exist.private final java.util.Enumeration<java.net.URL> enumeration
protected PrependingEnumeration(java.net.URL url, java.util.Enumeration<java.net.URL> enumeration)
url
- The first element of the enumeration.enumeration
- An enumeration that is used for pulling subsequent urls.