上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: 代码一 public class ThreadTest { public static ExecutorService executor = Executors.newFixedThreadPool(10); public static void main(String[] args) throws 阅读全文
posted @ 2021-08-23 23:19 卡卡罗特琪琪 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 实现代码 /** * TODO * * @author kakaluote * @date 2021年8月17日 下午4:36:49 */ public class SingleLinkedListDemo { public static void main(String[] args) { Her 阅读全文
posted @ 2021-08-23 16:12 卡卡罗特琪琪 阅读(76) 评论(0) 推荐(0) 编辑
摘要: public class CircleArrayQueueDemo { public static void main(String[] args) { System.out.println("测试模拟环形队列的案例~"); //有效个数3个,因为有一个空位 CircleArrayQueue que 阅读全文
posted @ 2021-08-23 16:09 卡卡罗特琪琪 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 代码 public class ArrayQueueDemo { public static void main(String[] args) { ArrayQueue queue = new ArrayQueue(3); char key = ' '; Scanner scanner = new 阅读全文
posted @ 2021-08-23 16:08 卡卡罗特琪琪 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> 默认只是开启了health,info,修 阅读全文
posted @ 2021-08-22 10:05 卡卡罗特琪琪 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 添加配置 (默认client-typ 阅读全文
posted @ 2021-08-22 08:55 卡卡罗特琪琪 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <!--整合mybatis-plus,因为其中整合了spring-boot-starter-data-jdbc和mybatis-spring-boot-starter,所以注释掉--> <dependency> <groupId>com.baomidou</groupId> <artifa 阅读全文
posted @ 2021-08-19 21:43 卡卡罗特琪琪 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <!--整合mybatis--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.4</ver 阅读全文
posted @ 2021-08-16 22:59 卡卡罗特琪琪 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 第一种 自定义方式 如何使用 引入依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.17</version> </dependency> 编写配置类 @Configur 阅读全文
posted @ 2021-08-14 16:44 卡卡罗特琪琪 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 分析过程 将两个有序的单链表合并成一个有序的单链表,本人的思路是利用第三个单链表存储两个单链表的节点,若两个链表均为空,则直接返回;若其中一个链表为空,则直接将另一个链表连接至链表3上;若两个链表均不为空,先将其中一个链表1连接至链表3,然后遍历另一个链表2,将链表2中的节点按照顺序连接至链表3上。 阅读全文
posted @ 2021-08-12 13:57 卡卡罗特琪琪 阅读(797) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页