public boolean equals()

in cassandra-analytics-common/src/main/java/org/apache/cassandra/spark/data/partitioner/CassandraRing.java [230:252]


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

        CassandraRing that = (CassandraRing) other;
        return this.partitioner == that.partitioner
               && Objects.equals(this.keyspace, that.keyspace)
               && Objects.equals(this.replicationFactor, that.replicationFactor)
               && Objects.equals(this.instances, that.instances)
               && Objects.equals(this.replicas, that.replicas)
               && Objects.equals(this.tokenRangeMap, that.tokenRangeMap);
    }