@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof ClasspathInfo)) { return false; } final ClasspathInfo other = (ClasspathInfo) obj; return Arrays.equals(toURIs(this.srcClassPath), toURIs(other.srcClassPath)) && Arrays.equals(toURIs(this.compileClassPath), toURIs(other.compileClassPath)) && Arrays.equals(toURIs(this.bootClassPath), toURIs(other.bootClassPath)); } // Factory methods ---------------------------------------------------------
@Override public int hashCode() { return Arrays.hashCode(toURIs(this.srcClassPath)); }