倒序
Collections.sort(allData, new Comparator<Map>() {
@Override
public int compare(Map m1,Map m2){
return m1中某个值.compareTo(m2中某个值);
}
})
倒序
Collections.sort(allData, new Comparator<Map>() {
@Override
public int compare(Map m1,Map m2){
return m1中某个值.compareTo(m2中某个值);
}
})
本文标题:【收获】2019-12-04
本文链接:https://www.haomeiwen.com/subject/roclgctx.html
网友评论