12 2020 档案

摘要:java中逗号分隔的字符串和List相互转换 1、将逗号分隔的字符串转换为List 1 2 3 String str = "a,b,c"; List<String> result = Arrays.asList(str.split(",")); 2、将List转换为逗号分隔的字符串 (1) 利用Gu 阅读全文
posted @ 2020-12-20 23:53 野狼谷 阅读(4258) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示