摘要: Java对equals方法的要求:1. 自反性:x.equals(x) == true2. 对称性:x.equals(y) == y.equals(x)3. 传递性:x.equals(y) == true && y.equals(z) == true => ... 阅读全文
posted @ 2015-09-12 09:54 IronJJ 阅读(99) 评论(0) 推荐(0) 编辑