1.字符串转换为List
List<String> list = Arrays.asList(str.split(","));
2.List转换为字符串
String str = StringUtils.join(list, ",");
3.list转list
cn.hutool.extra.cglib.CglibUtil.copyList
1.字符串转换为List
List<String> list = Arrays.asList(str.split(","));
2.List转换为字符串
String str = StringUtils.join(list, ",");
cn.hutool.extra.cglib.CglibUtil.copyList