随笔分类 -  java工具类

摘要:https://blog.csdn.net/adsl624153/article/details/79562282 阅读全文
posted @ 2021-12-17 09:12 弓呆的胖次 阅读(351) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/lpq374606827/article/details/93203927 当List转化为数组时,如果想转化为二维数组: List<int[]> res = new ArrayList<>(); res.toArray(new int[res.size( 阅读全文
posted @ 2021-09-12 14:26 弓呆的胖次 阅读(85) 评论(0) 推荐(0)
摘要:思路:我们需要维护当前每个链表没有被合并的元素的最前面一个,kk 个链表就最多有 kk 个满足这样条件的元素,每次在这些元素里面选取 val 属性最小的元素合并到答案中。在选取最小元素的时候,我们可以用优先队列来优化这个过程。 作者:LeetCode-Solution链接:https://leetc 阅读全文
posted @ 2021-09-07 15:14 弓呆的胖次 阅读(516) 评论(0) 推荐(0)
摘要:package cn.how2j.springcloud; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadLocalRandom; import java.util.concurr 阅读全文
posted @ 2020-12-29 21:35 弓呆的胖次 阅读(70) 评论(0) 推荐(0)
摘要:开源项目 JAVE (Java Audio Video Encoder) 引入依赖 <dependency> <groupId>ws.schild</groupId> <artifactId>jave-all-deps</artifactId> <version>2.7.2</version> </ 阅读全文
posted @ 2020-12-29 10:28 弓呆的胖次 阅读(1136) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_32258777/article/details/86743416 https://blog.csdn.net/yufeiyanliu/article/details/81150169?utm_medium=distribute.pc_relevan 阅读全文
posted @ 2020-12-21 20:42 弓呆的胖次 阅读(82) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zhuhui-site/p/10092322.html 版权声明:本文供交流学习,能够帮助到你是我最大的荣幸! https://blog.csdn.net/u014231523/article/details/76522486 说明:1.这里使用的版本 阅读全文
posted @ 2020-12-11 16:54 弓呆的胖次 阅读(172) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u012175512/article/details/105070668 import com.google.common.collect.Sets; @Test public static void testSets() { Set<Integer> s 阅读全文
posted @ 2020-12-08 15:54 弓呆的胖次 阅读(676) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/fenghh/p/12175368.html 导入: import org.apache.commons.lang3.StringUtils; 依赖 <dependency> <groupId>org.apache.commons</groupId> 阅读全文
posted @ 2020-11-16 21:20 弓呆的胖次 阅读(309) 评论(0) 推荐(0)
摘要:import org.apache.commons.collections4.CollectionUtils; <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactI 阅读全文
posted @ 2020-11-06 15:59 弓呆的胖次 阅读(1665) 评论(0) 推荐(0)
摘要:https://www.runoob.com/w3cnote/fastjson-intro.html Fastjson 简介 Fastjson 是一个 Java 库,可以将 Java 对象转换为 JSON 格式,当然它也可以将 JSON 字符串转换为 Java 对象。 Fastjson 可以操作任何 阅读全文
posted @ 2020-10-29 21:17 弓呆的胖次 阅读(368) 评论(0) 推荐(0)
摘要:<!-- https://mvnrepository.com/artifact/org.apache.directory.studio/org.apache.commons.codec --> <dependency> <groupId>org.apache.directory.studio</gr 阅读全文
posted @ 2020-10-29 19:06 弓呆的胖次 阅读(5926) 评论(0) 推荐(0)
摘要:原作 https://www.cnblogs.com/winner-0715/p/6109037.html?utm_source=itdadao&utm_medium=referral 依赖可以用这个: 或者: <dependency> <groupId>com.fasterxml.jackson. 阅读全文
posted @ 2020-10-28 21:30 弓呆的胖次 阅读(32653) 评论(0) 推荐(1)
摘要:原作:https://www.cnblogs.com/qdhxhz/p/10787130.html 阅读全文
posted @ 2020-10-26 20:31 弓呆的胖次 阅读(84) 评论(0) 推荐(0)
摘要:是: import com.fasterxml.jackson.annotation.JsonProperty; 容易搞错 阅读全文
posted @ 2020-10-14 11:48 弓呆的胖次 阅读(292) 评论(0) 推荐(0)
摘要:原文地址:https://www.cnblogs.com/xuwenjin/p/8976696.html 在项目中使用到了ObjectMapper,故研究了一下。现将自己的几个测试用例和大家分享一下~ 首先在pom.xml文件中,加入依赖: <dependency> <groupId>com.fas 阅读全文
posted @ 2020-09-24 18:56 弓呆的胖次 阅读(2408) 评论(0) 推荐(0)
摘要:二叉树后序遍历,还有107二叉树层次遍历都用到了这个函数! https://www.cnblogs.com/ywb2018/p/9922829.html 阅读全文
posted @ 2020-05-06 15:09 弓呆的胖次 阅读(238) 评论(0) 推荐(0)