public boolean equals()

in src/main/java/org/apache/rocketmq/exporter/model/metrics/ConsumerTopicDiffMetric.java [65:75]


    public boolean equals(Object obj) {
        if (!(obj instanceof ConsumerTopicDiffMetric)) {
            return false;
        }
        ConsumerTopicDiffMetric other = (ConsumerTopicDiffMetric) obj;

        return other.group.equals(group) &&
                other.topic.equals(topic) &&
                other.countOfOnlineConsumers.equals(countOfOnlineConsumers) &&
                other.msgModel.equals(msgModel);
    }