Java中字符串与List 互转 1.字符串转换为List List list = Arrays.asList(str.split(“,”)); 2.List转换为字符串 String str = StringUtils.join(list, “,”);