Class URLClassLoaderBuilder.ExecJavaClassLoader.ChainedEnumerations

  • All Implemented Interfaces:
    java.util.Enumeration<java.net.URL>
    Enclosing class:
    URLClassLoaderBuilder.ExecJavaClassLoader

    private static class URLClassLoaderBuilder.ExecJavaClassLoader.ChainedEnumerations
    extends java.lang.Object
    implements java.util.Enumeration<java.net.URL>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Enumeration<java.net.URL> current  
      private java.util.Iterator<java.util.Enumeration<java.net.URL>> enumerations  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ChainedEnumerations​(java.util.Iterator<java.util.Enumeration<java.net.URL>> enumerations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasMoreElements()  
      java.net.URL nextElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • enumerations

        private final java.util.Iterator<java.util.Enumeration<java.net.URL>> enumerations
      • current

        private java.util.Enumeration<java.net.URL> current
    • Constructor Detail

      • ChainedEnumerations

        private ChainedEnumerations​(java.util.Iterator<java.util.Enumeration<java.net.URL>> enumerations)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<java.net.URL>
      • nextElement

        public java.net.URL nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<java.net.URL>