public boolean equals(Object o) {
      if (this == o) return true;
      if (!(o instanceof HardReference)) return false;

      HardReference that = (HardReference)o;

      return myElement.equals(that.myElement);
    }
public boolean equals(Object o)