public boolean equals()

in cassandra-four-zero-types/src/main/java/org/apache/cassandra/spark/data/complex/CqlUdt.java [358:378]


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

        CqlUdt that = (CqlUdt) other;
        return this.internalType() == that.internalType()
               && Objects.equals(this.keyspace, that.keyspace)
               && Objects.equals(this.name, that.name)
               && Objects.equals(this.fields, that.fields);
    }