contrary equality method 逆向配平法
comparative equality method 配比配平法
story-force equality method 层间力平衡法
equality-renew method 等式更新法
equality design method 均匀设计法
In particular, be careful about using the equals method to test for numeric equality.
尤其在使用equals方法来检测数值之间是否相等时要小心。
If you try to override the Object.equals method in OrderFulfillment such that it is "equal" to its Order, you've broken the contract of Object.equals, which specifies that equality must be symmetric.
如果您尝试在OrderFulfillment中覆盖object . equals方法,从而其“等于”其Order,您就打破了Object . equals的合同,其指定相等必须是对称的。
The implies() method compares the name and actions properties for equality.
implies() 方法就等同性比较名称和行为属性。
应用推荐