![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java源码阅读
在逐步尝试阅读Java部分源码的过程中所做的笔记
茕祇
这个作者很懒,什么都没留下…
展开
-
HashMap源码阅读(小白的java进阶)
HashMap(线程不安全)[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-NYRKpLSJ-1607349296061)(https://raw.githubusercontent.com/TestLove/Pictures/main/img/image-20201121111613364.png)][外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-2gvBiRVz-1607349296064)(https://raw.githubuserc原创 2020-12-07 21:58:36 · 112 阅读 · 2 评论 -
ArrayList源码阅读(小白的java进阶)
ArrayList(线程不安全)ArrayList是一个其容量能够动态增长的动态数组继承关系构造方法是符合collection父接口的规范的//传0则设置为默认容量public ArrayList(int initialCapacity) { if (initialCapacity > 0) { this.elementData = new Object[initialCapacity]; } else if (init原创 2020-12-07 18:16:23 · 109 阅读 · 0 评论 -
java集合框架部分相关接口与类的介绍
集合基础接口Iterable//Implementing this interface allows an object to be the target of the "for-each loop" statement.//Iterator其实是一个接口(迭代器)Iterator<T> iterator();default void forEach(Consumer<? super T> action) {//传一个实现了Consumer接口的子类实例Object原创 2020-12-07 17:40:42 · 108 阅读 · 0 评论