摘要: 代码一 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) 编辑