list逆序 Collections.reverse
String str = "X00333,J00222,J00001,0";
String[] strArray = str.split(",");
List<String> strList = strList = Arrays.asList(strArray);
Collections.reverse(strList);
String str_reverse = StringUtils.join(strList, ",");
System.out.println(str_reverse);