注意,数值类型遵守数值比较的正常规则。即比较相等的两个数值型对象,只有一个能存在于集合中,例如,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。
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.
应用推荐