1、集合体系结构
2、Set系列集合
3、Set系列遍历
【1】Set元素唯一,第一次添加返回true,重复添加返回false
【2】迭代器遍历:
【3】增强for循环
【4】lambda表达式
4、HashSet底层原理
代码测试:
5、HashSet底层原理
6、LinkedHashSet底层原理
代码测试:(Student对象重写了hashCode和equals方法)
总结