上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 如果 msg 是 { "b": 1, "a": null } JSONObject msgObj = JSON.parseObject(msg); msgObj.getOrDefault("a","").toString() 报空指针 阅读全文
posted @ 2023-09-14 10:58 清明雨下 阅读(69) 评论(0) 推荐(0)
摘要: public void deleteDir(File dir){ try (Stream<Path> walk = Files.walk(dir.toPath())) { walk.sorted(Comparator.reverseOrder()) .forEach(path -> { try { 阅读全文
posted @ 2023-05-31 17:18 清明雨下 阅读(86) 评论(0) 推荐(0)
摘要: 转https://blog.csdn.net/weixin_45070175/article/details/118559272 阅读全文
posted @ 2022-11-21 14:44 清明雨下 阅读(36) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-02 13:59 清明雨下 阅读(40) 评论(0) 推荐(0)
摘要: 优秀的国外论文网站 https://ieeexplore.ieee.org/document/8641378 IEEE https://paperswithcode.com/paper 带代码的 阅读全文
posted @ 2022-10-27 16:45 清明雨下 阅读(24) 评论(0) 推荐(0)
摘要: https://github.com/seancfoley/IPAddress <dependency> <groupId>com.github.seancfoley</groupId> <artifactId>ipaddress</artifactId> <version>5.3.4</versi 阅读全文
posted @ 2022-09-22 17:23 清明雨下 阅读(179) 评论(0) 推荐(0)
摘要: @Mapperpublic interface StatusDao extends BaseMapper<StatusEntity> { @Update("<script> update status set" + " current_status = #{currentStatus},update 阅读全文
posted @ 2022-08-12 14:17 清明雨下 阅读(1450) 评论(0) 推荐(0)
摘要: /** * 依赖包:<dependency> * <groupId>org.eclipse.birt.runtime.3_7_1</groupId> * <artifactId>com.lowagie.text</artifactId> * <version>2.1.7</version> * </ 阅读全文
posted @ 2022-06-28 09:32 清明雨下 阅读(88) 评论(0) 推荐(0)
摘要: 先了解每个位置代表的含义,在了解每个位置允许的范围,以及一些特殊写法,还有常用的案例,足够你掌握cron表达式 一:每个字段的允许值字段 允许值 允许的特殊字符 秒 0-59 , - * / 分 0-59 , - * / 小时 0-23 , - * / 日期 1-31 , - * ? / L W C 阅读全文
posted @ 2022-06-22 10:50 清明雨下 阅读(96) 评论(0) 推荐(0)
摘要: double f= 1.4956 String.format("%.2f", f) DecimalFormat df = new DecimalFormat("#.00"); //强制小数点后两位 2.00 DecimalFormat df = new DecimalFormat("#.##"); 阅读全文
posted @ 2022-06-21 14:52 清明雨下 阅读(42) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页