boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RemoteFilePath other = (RemoteFilePath)o; return myIsDirectory == other.myIsDirectory && myPath.equals(other.myPath); }