摘要: lt:less than 小于le:less than or equal to 小于等于eq:equal to 等于ne:not equal to 不等于ge:greater than or equal to 大于等于gt:greater than 大于lq: 是小于等于 Maybatis-Plus 阅读全文
posted @ 2022-09-21 16:49 勿忘言默小江 阅读(4773) 评论(0) 推荐(0)
摘要: 1 遍历数组int[] nums = {3, 1, 5, 2, 4};int max = nums[0];int min = nums[0];for (int i = 1; i < nums.length; i++) { max = Math.max(max, nums[i]); min = Mat 阅读全文
posted @ 2022-09-21 14:42 勿忘言默小江 阅读(2803) 评论(0) 推荐(0)
摘要: List<Integer> list = new ArrayList<Integer>(); 从小到大方法: Collections.sort(list); 从大到小方法: Collections.sort(list,Collections.reverseOrder()); stream获取list 阅读全文
posted @ 2022-09-21 14:39 勿忘言默小江 阅读(5174) 评论(0) 推荐(0)