摘要: 将多个Long类型用逗号拼接的字符串转换成List<Long> String orderDetailIds = "1593507066795622400,1593507066795622401,1593507066795622402"; List<Long> orderDetailIdList = 阅读全文
posted @ 2023-12-28 16:10 DHaiLin 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Collections 为 List、Set、Map 等集合类定义了相应的空集合常量 // 空 List Collections.emptyList(); // 空 Set Collections.emptySet(); // 空 Map Collections.emptyMap(); 一个元素的集 阅读全文
posted @ 2023-12-28 10:29 DHaiLin 阅读(45) 评论(0) 推荐(0) 编辑