重写equals就需要重写hashCode
摘要:
重写equals不重写hashCode public class Student { private Long id; private String code; private String name; public Student(Long id, String code, String name 阅读全文
posted @ 2022-11-25 15:45 周公 阅读(11) 评论(0) 推荐(0) 编辑