values_equal


Description:

public override bool values_equal (AbstractFieldDetails<string> that)

An equality function which does not consider parameters.

Specific classes may override this function to provide "smart" value comparisons (eg, considering the phone number values "+1 555 123 4567" and "123-4567" equal). If you wish to do strict comparisons, simply compare the AbstractFieldDetails.values directly.

This function compares:

And does not compare:

This defaults to string comparison of the AbstractFieldDetails.values if the generic type is string; otherwise, direct pointer comparison of the AbstractFieldDetails.values.