java如何对map进行排序详解

如题所述

Map map = new TreeMap--->这个就可以排序拉
List list --->Collections.sort(list);排序成功
温馨提示:答案为网友推荐,仅供参考
相似回答