public boolean equals()

in graphjet-core/src/main/java/com/twitter/graphjet/algorithms/counting/tweet/TweetMetadataRecommendationInfo.java [159:177]


  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (obj == this) {
      return true;
    }
    if (obj.getClass() != getClass()) {
      return false;
    }

    TweetMetadataRecommendationInfo other = (TweetMetadataRecommendationInfo) obj;

    return
      Objects.equal(getRecommendation(), other.getRecommendation())
        && Objects.equal(getRecommendationType(), other.getRecommendationType())
        && Objects.equal(getWeight(), other.getWeight())
        && Objects.equal(getSocialProof(), other.getSocialProof());
  }