11 2021 档案

摘要:JDK8中有双冒号的用法,就是把方法当做参数传到stream内部,使stream的每个元素都传入到该方法里面执行一下。 List<String> lt = Arrays.asList("a", "b", "c", "d", "e"); lt.forEach(System.out::println); 阅读全文
posted @ 2021-11-17 16:20 天天代码码天天 阅读(11) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20090211</version> </dependency> public String Json2Csv(String json) t 阅读全文
posted @ 2021-11-12 13:36 天天代码码天天 阅读(11) 评论(0) 推荐(0) 编辑