@Override
   public boolean equals(Object obj) {
      if (obj == null) {
         return false;
      }
      if (getClass() != obj.getClass()) {
         return false;
      }
      final Coords other = (Coords) obj;
      if (this.row != other.row && (this.row == null || !this.row.equals(other.row))) {
         return false;
      }
      if (this.col != other.col && (this.col == null || !this.col.equals(other.col))) {
         return false;
      }
      return true;
   }