java-HashMap、TreeMap、LinkedHashMap、ArrayList、LinkedList使用笔记
背景MapunsortedMap=newHashMapsortEnemyMap(MapunsortedMap){List>list=newLinkedList>(){publicintcompare(Map.Entryo1,Map.Entryo2){//由大到小return(o2.getValue()).compareTo(o1.getValue());//由小到大//return(o1.getV