Package net.bytebuddy.dynamic.loading
Class ByteArrayClassLoader.SingletonEnumeration
- java.lang.Object
-
- net.bytebuddy.dynamic.loading.ByteArrayClassLoader.SingletonEnumeration
-
- All Implemented Interfaces:
java.util.Enumeration<java.net.URL>
- Enclosing class:
- ByteArrayClassLoader
protected static class ByteArrayClassLoader.SingletonEnumeration extends java.lang.Object implements java.util.Enumeration<java.net.URL>
An enumeration that contains a single element.
-
-
Field Summary
Fields Modifier and Type Field Description private java.net.URL
element
The current element ornull
if this enumeration does not contain further elements.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SingletonEnumeration(java.net.URL element)
Creates a new singleton enumeration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
java.net.URL
nextElement()
-