If all items of two sequences compare equal, the sequences are considered equal.
如果两个序列的所有子项都相等,就认为序列相等。
If two Pointers to object types both point to the same object, or both point one past the last element of the same array object, they compare equal.
如果两个指针指向同一个对象,或指向同一个数组的最后一个元素的下一个元素时,它们相等。
Note that numeric types obey the normal rules for numeric comparison: if two Numbers compare equal (e. g., 1 and 1.0), only one of them can be contained in a set.
注意,数值类型遵守数值比较的正常规则。即比较相等的两个数值型对象,只有一个能存在于集合中,例如,1和1.0。
Note that numeric types obey the normal rules for numeric comparison: if two Numbers compare equal (e. g., 1 and 1.0), only one of them can be contained in a set.
注意,数值类型遵守数值比较的正常规则。即比较相等的两个数值型对象,只有一个能存在于集合中,例如,1和1.0。
应用推荐