Posted on 2015-07-17 11:35
朱杰兵 阅读(448)
评论(0) 编辑 收藏
TreeMap<String, String> map = new TreeMap<String, String>(new Comparator<Object>(){
public int compare(Object o1,Object o2) {
return 1;
}
});
map.put("1", "erer");
map.put("200", "erer");
map.put("36", "erer");
map.put("4", "erer");
map.put("5", "erer");
map.put("6", "erer");
System.out.println(map);
}