public boolean equals()

in graphjet-core/src/main/java/com/twitter/graphjet/algorithms/RecommendationStats.java [140:160]


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

    RecommendationStats other = (RecommendationStats) obj;

    return
        Objects.equal(numDirectNeighbors, other.numDirectNeighbors)
        && Objects.equal(numRightNodesReached, other.numRightNodesReached)
        && Objects.equal(numRHSVisits, other.numRHSVisits)
        && Objects.equal(minVisitsPerRightNode, other.minVisitsPerRightNode)
        && Objects.equal(maxVisitsPerRightNode, other.maxVisitsPerRightNode)
        && Objects.equal(numRightNodesFiltered, other.numRightNodesFiltered);
  }