该文被密码保护。 阅读全文
posted @ 2021-08-19 08:02 我自逍遥 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-08-19 08:00 我自逍遥 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-08-19 07:57 我自逍遥 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-08-19 07:50 我自逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 代码 public static void main(String[] args) { long begin = System.currentTimeMillis(); // 这里涉及到并发修改,不要使用ArrayList List<Double> list = new CopyOnWriteArr 阅读全文
posted @ 2021-08-19 07:42 我自逍遥 阅读(27) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-08-04 11:31 我自逍遥 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 我用的SpringBoot版本 parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version> <rela 阅读全文
posted @ 2021-07-21 01:11 我自逍遥 阅读(497) 评论(0) 推荐(0) 编辑
摘要: Service测试用例 需要的依赖 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <depe 阅读全文
posted @ 2021-07-07 14:44 我自逍遥 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 对于SPI的介绍,这里就不再多说了,很多框架都有用到。 这里只写一些简单的实现。 工程结构如图: 源码 首先定义一个接口 import java.util.List; public interface Search { List<String> search(String keyword); } 写 阅读全文
posted @ 2021-06-30 19:24 我自逍遥 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 构建版本: 5.2.x 通过git拉取的方式 本地环境构建 获取代码 从github或者gitee将代码拉取下来 idea打开项目 打开gradle-wrapper.properties文件 查看gradle版本 distributionUrl=https\://services.gradle.or 阅读全文
posted @ 2021-06-30 19:20 我自逍遥 阅读(293) 评论(0) 推荐(0) 编辑