Java学习
青丶墨
这个作者很懒,什么都没留下…
展开
-
idea将项目上传至码云(gitee)
idea将项目上传至码云(gitee)原创 2022-09-14 21:19:38 · 471 阅读 · 1 评论 -
HashMap1.8源码
HashMap1.8源码原创 2022-09-06 23:00:06 · 276 阅读 · 0 评论 -
ConcurrentHashMap1.7源码
ConcurrentHashMap1.7源码原创 2022-09-04 12:34:31 · 344 阅读 · 0 评论 -
HashMap1.7源码
HashMap1.7源码原创 2022-09-01 23:26:40 · 372 阅读 · 0 评论 -
ArrayList和LinkedList
一、ArrayList和LinkedList区别 ArrayList和LinkedList都是实现了List接口,都不保证线程安全的 ArrayList是使用的动态数组的数据结构,LinkedList使用的是双向链表的数据结构 一般来说LinkedList的空间占用要比ArrayList要大,因为LinkedList的每个元素都需要保存前后元素的位置以及数据,ArrayList元素数量如果到达临界值时需要扩容 ArrayList因为使用数组,因此在随机访问的速度上要比LinkedList速度快 Linke原创 2021-08-25 21:43:43 · 3669 阅读 · 0 评论