HashSet<String> hs = new HashSet<String>(l);
//给arrayList 或 数组 或 hashSet 拼接成字符串
String str= StringUtils.join(hs, "+");
时间: 2025-01-18 07:54:50
HashSet<String> hs = new HashSet<String>(l);
//给arrayList 或 数组 或 hashSet 拼接成字符串
String str= StringUtils.join(hs, "+");