Class 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.
    • Constructor Detail

      • 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.