boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProcessInfo info = (ProcessInfo)o; if (myPid != info.myPid) return false; if (!myExecutableName.equals(info.myExecutableName)) return false; if (!myArgs.equals(info.myArgs)) return false; if (!myCommandLine.equals(info.myCommandLine)) return false; if (!myExecutablePath.equals(info.myExecutablePath)) return false; if (myParentPid != info.myParentPid) return false; if (!Objects.equals(myUser, ((ProcessInfo)o).myUser)) return false; if (!myOwnedByCurrentUser.equals(((ProcessInfo)o).myOwnedByCurrentUser)) return false; return true; }