Class ClasspathOrder.ClasspathEntry

  • Enclosing class:
    ClasspathOrder

    public static class ClasspathOrder.ClasspathEntry
    extends java.lang.Object
    A classpath element and the ClassLoader it was obtained from.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.ClassLoader classLoader
      The classloader the classpath element was obtained from.
      java.lang.Object classpathEntryObj
      The classpath entry object (a String path, Path, URL or URI).
    • Constructor Summary

      Constructors 
      Constructor Description
      ClasspathEntry​(java.lang.Object classpathEntryObj, java.lang.ClassLoader classLoader)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • classpathEntryObj

        public final java.lang.Object classpathEntryObj
        The classpath entry object (a String path, Path, URL or URI).
      • classLoader

        public final java.lang.ClassLoader classLoader
        The classloader the classpath element was obtained from.
    • Constructor Detail

      • ClasspathEntry

        public ClasspathEntry​(java.lang.Object classpathEntryObj,
                              java.lang.ClassLoader classLoader)
        Constructor.
        Parameters:
        classpathEntryObj - the classpath entry object (a String or URL or Path).
        classLoader - the classloader the classpath element was obtained from.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object