in spark-job/src/main/java/org/apache/cassandra/diff/RangeStats.java [200:217]
public boolean equals(Object o) {
if (this == o)
return true;
if (!(o instanceof RangeStats))
return false;
RangeStats other = (RangeStats)o;
return this.matchedPartitions.sum() == other.matchedPartitions.sum()
&& mismatchedPartitions.sum() == other.mismatchedPartitions.sum()
&& errorPartitions.sum() == other.errorPartitions.sum()
&& skippedPartitions.sum() == other.skippedPartitions.sum()
&& onlyInSource.sum() == other.onlyInSource.sum()
&& onlyInTarget.sum() == other.onlyInTarget.sum()
&& matchedRows.sum() == other.matchedRows.sum()
&& matchedValues.sum() == other.matchedValues.sum()
&& mismatchedValues.sum() == other.mismatchedValues.sum();
}