Example #1
0
    public bool Equals(KuduPredicate?other)
    {
        if (other is null)
        {
            return(false);
        }

        if (ReferenceEquals(this, other))
        {
            return(true);
        }

        return(Type == other.Type &&
               Column.Equals(other.Column) &&
               Lower.SequenceEqual(other.Lower) &&
               Upper.SequenceEqual(other.Upper) &&
               InListEquals(other.InListValues));
    }