Java List<Map> 排序
作者:互联网
Collections.sort(sourceMap, new Comparator<Map<String, Object>>() { @Override public int compare(Map<String, Object> o1, Map<String, Object> o2) { return o1.get("fxdj").toString().compareTo(o2.get("fxdj").toString()); } });
标签:fxdj,Map,Java,get,List,toString,排序,o2,o1 来源: https://www.cnblogs.com/qukaige/p/15965098.html