摘要: package queue;import java.util.Comparator;import java.util.PriorityQueue;import java.util.Queue ;import java.util.Random;// 优先级队列public class ProQuery 阅读全文
posted @ 2021-07-22 17:05 沐雨清晨 阅读(42) 评论(0) 推荐(0) 编辑
摘要: package queue;import java.util.PriorityQueue;// 非阻塞队列的生产者和消费者public class QueryTwo { public static void main(String[] args) { QueryTwo queryTwo = new 阅读全文
posted @ 2021-07-22 15:08 沐雨清晨 阅读(62) 评论(0) 推荐(0) 编辑
摘要: package queue;import sun.awt.CustomCursor;import java.util.concurrent.ArrayBlockingQueue;// 初始生产者和消费者public class BlockQuery { public static void main 阅读全文
posted @ 2021-07-22 11:30 沐雨清晨 阅读(23) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;////Stack是一种后进先出(LIFO)的结构,其继承了Vector的基础上拓展5个方法push()、pop()、peek()、empty()、search()而来//// 1、push(E):将item推入到栈中//// 2、pop() :将栈中 阅读全文
posted @ 2021-07-21 16:39 沐雨清晨 阅读(59) 评论(0) 推荐(0) 编辑
摘要: int[] arr = {1, 52, 12, 36, 45,6,4,32,12,15,34,76}; // 希尔排序 shellSort(arr); // 希尔排序private static void shellSort(int[] arr) { if(arr==null||arr.length 阅读全文
posted @ 2021-07-13 15:04 沐雨清晨 阅读(22) 评论(0) 推荐(0) 编辑
摘要: int[] arr = {1, 52, 12, 36, 45}; // 插入排序 insertSort(arr); //插入排序private static void insertSort(int[] arr) { if (arr == null || arr.length <= 1) { retu 阅读全文
posted @ 2021-07-13 11:22 沐雨清晨 阅读(24) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { int[] arr={1,52,12,36,45};// sorts(arr); choice(arr) ; } private static void choice(int[] arr) { if (arr==nul 阅读全文
posted @ 2021-07-12 17:45 沐雨清晨 阅读(26) 评论(0) 推荐(0) 编辑
摘要: package one;import java.util.Arrays;public class Cone { public static void main(String[] args) { int[] arr={1,52,12,36,45}; sorts(arr); } public stati 阅读全文
posted @ 2021-07-12 17:11 沐雨清晨 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1. 例如我想隐藏3 2. 选择定位条件 3 选择可见单元格就可以了 再次复制就可以了 阅读全文
posted @ 2020-09-23 21:52 沐雨清晨 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. 条件格式很多我就列举一个就可以了 a.选中 b. c. c. 任选你喜欢的一种就可以了 然后也可以清除 阅读全文
posted @ 2020-09-23 21:46 沐雨清晨 阅读(492) 评论(0) 推荐(0) 编辑