If comparison is defined so that strings of different lengths are never equal, then an equality comparison should probably begin with a length comparison.
如果不同长度的字符串被定义为不相等,那么相等的比较可能应该从长度的比较开始。
The Datatype class must provide some object representation of the type that the validator can use for equality comparison and hash code calculation.
datatype类必须提供类型的某种对象表示,以便验证器可用来进行相等性比较和计算散列码。
Defines methods to support the comparison of objects for equality.
定义方法以支持对象的相等比较。
应用推荐