list.sort(Comparator.comparing(Candidate::getName,Collator.getInstance(Locale.CHINA)));
JAVA集合属性名称按中文排序
最新推荐文章于 2022-11-26 17:46:21 发布
list.sort(Comparator.comparing(Candidate::getName,Collator.getInstance(Locale.CHINA)));