boolean (Object o) { if (this == o) return true; if (!(o instanceof EarResourceImpl)) return false; EarResourceImpl resource = (EarResourceImpl)o; if (!file.getPath().equals(resource.file.getPath())) return false; if (!myEarDirectory.equals(resource.myEarDirectory)) return false; if (!myRelativePath.equals(resource.myRelativePath)) return false; return true; }