将逗号分隔 的字符串转化成List
List<String> parIdListTmp = new ArrayList<String>();
String parIdArray[] = parFenLeiIds.split(",");
Collections.addAll(parIdListTmp, parIdArray);
2024-03-29 14:13:28
将逗号分隔 的字符串转化成List
List<String> parIdListTmp = new ArrayList<String>();
String parIdArray[] = parFenLeiIds.split(",");
Collections.addAll(parIdListTmp, parIdArray);
下一篇:python课程第三周重点记录