Class ByteArrayClassLoader.SingletonEnumeration

java.lang.Object
net.bytebuddy.dynamic.loading.ByteArrayClassLoader.SingletonEnumeration
All Implemented Interfaces:
Enumeration<URL>
Enclosing class:
ByteArrayClassLoader

protected static class ByteArrayClassLoader.SingletonEnumeration extends Object implements Enumeration<URL>
An enumeration that contains a single element.
  • Field Details

    • element

      @MaybeNull private URL element
      The current element or null if this enumeration does not contain further elements.
  • Constructor Details

    • SingletonEnumeration

      protected SingletonEnumeration(URL element)
      Creates a new singleton enumeration.
      Parameters:
      element - The only element.
  • Method Details