摘要: java springBoot 单元测试 阅读全文 »
posted @ 2022-04-04 21:55 whale_tail 阅读(265) 评论(0) 推荐(0) 编辑
摘要: ArrayBlockingQueue的底层逻辑实现 阅读全文 »
posted @ 2022-03-27 15:29 whale_tail 阅读(100) 评论(0) 推荐(0) 编辑
摘要: ArrayList在高并发下的实现 阅读全文 »
posted @ 2022-03-20 20:34 whale_tail 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 注意:本文内容基于JDK11,不同版本会有差异 ArrayList的结构 ArrayList的本质上是个数组,他的底层实现都是对数组的操作。它所操作的数组就是elementData. 源码解析 源码解析以add方法作为入口,对ArrayList进行解析 /** * * @param e 要附加到列表 阅读全文 »
posted @ 2022-03-20 20:19 whale_tail 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 注意:本文内容基于JDK11,不同版本会有差异 ConcurrentSkipListMap的结构 ConcurrentSkipListMap是以链表(自然排序)的形式进行数据存储的。即在类中通过定义Node内部类来存储单个节点的数据,通过Node中的next属性,来记录链表的下一个节点。同时会对No 阅读全文 »
posted @ 2022-03-16 23:44 whale_tail 阅读(162) 评论(0) 推荐(0) 编辑
摘要: SonarQube docker部署 下载镜像 docker pull sonarqube:8.6.1-community 启动容器 docker run --name sonarqube -d -p 9000:9000 sonarqube 浏览器访问localhost:9000端口进行配置 初始密 阅读全文 »
posted @ 2021-02-19 16:36 whale_tail 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 遇到的那些事 阅读全文 »
posted @ 2021-01-28 14:32 whale_tail 阅读(41) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示