Ejemplo n.º 1
0
 public boolean equals(Object arg) {
   if (!(arg instanceof MConnection)) {
     return false;
   }
   MConnection other = (MConnection) arg;
   return (sourcePath.equals(other.sourcePath) && targetPath.equals(other.targetPath));
 }
Ejemplo n.º 2
0
 public int hashCode() {
   return sourcePath.hashCode() ^ targetPath.hashCode();
 }