摘要: 一、建议 推荐使用JDK7中新引入的Objects工具类来进行对象的equals比较,直接a.equals(b),有空指针异常的风险 public final class Objects {/** * Returns {@code true} if the arguments are equal t 阅读全文
posted @ 2022-01-20 09:28 周文豪 阅读(769) 评论(1) 推荐(0) 编辑