Ailt + Insert 选择 equals() 和 hashCode()
package com.zhong.collection.set;
import java.util.HashSet;
import java.util.Objects;
public class HashSetDeduplication {
public static void main(String[] args) {
// HashSet 对象去重
HashSet<Student> students = new HashSet<>();
students.add(new