Class ByteArrayClassLoader.ChildFirst.PrependingEnumeration

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

protected static class ByteArrayClassLoader.ChildFirst.PrependingEnumeration extends Object implements Enumeration<URL>
An enumeration that prepends an element to another enumeration and skips the last element of the provided enumeration.
  • Field Details

    • nextElement

      @MaybeNull private URL nextElement
      The next element to return from this enumeration or null if such an element does not exist.
    • enumeration

      private final Enumeration<URL> enumeration
      The enumeration from which the next elements should be pulled.
  • Constructor Details

    • PrependingEnumeration

      protected PrependingEnumeration(URL url, Enumeration<URL> enumeration)
      Creates a new prepending enumeration.
      Parameters:
      url - The first element of the enumeration.
      enumeration - An enumeration that is used for pulling subsequent urls.
  • Method Details