public boolean equals()

in computer-core/src/main/java/org/apache/hugegraph/computer/core/graph/partition/PartitionStat.java [127:140]


    public boolean equals(Object obj) {
        if (!(obj instanceof PartitionStat)) {
            return false;
        }
        PartitionStat other = (PartitionStat) obj;
        return this.partitionId == other.partitionId &&
               this.vertexCount == other.vertexCount &&
               this.finishedVertexCount == other.finishedVertexCount &&
               this.edgeCount == other.edgeCount &&
               this.messageSendCount == other.messageSendCount &&
               this.messageSendBytes == other.messageSendBytes &&
               this.messageRecvCount == other.messageRecvCount &&
               this.messageRecvBytes == other.messageRecvBytes;
    }