![](https://img-blog.csdnimg.cn/20210802094931231.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
JavaSE进阶
进阶知识
wwaitings
小白历险记
展开
-
泛型、自动类型推断、自定义泛型
泛型 自动类型推断原创 2021-08-03 15:37:32 · 59 阅读 · 0 评论 -
集合中List接口
List中的特有方法原创 2021-08-03 14:07:17 · 45 阅读 · 0 评论 -
集合中Collection接口
Collection接口中常用方法 方法一 方法二 方法三、四、五 void clear() //清空集合 boolean contains(Object o) 方法六 方法七 Collection集合迭代 Collection接口继承Iterable接口,Iterable接口里面有iterator()方法,然后Collection会把这个方法继承过来,继承过后就可以调用该方法返回一个Iterator,拿到迭代器来迭代(遍历)集合。迭代器是一个对象 下面图片的new HashSet原创 2021-08-03 13:31:42 · 49 阅读 · 0 评论 -
集合概述以及集合继承结构图
原创 2021-08-03 13:29:17 · 76 阅读 · 0 评论 -
java常用类
ToString equals String类重写了toString和equals方法 例子原创 2021-08-02 22:38:28 · 37 阅读 · 0 评论