java中实现HashMap中的按照key的字典顺序排序输出
摘要:
关键代码 HashMap<String, String> maptest =new HashMap<String, String>(); maptest.put("1天","day1"); maptest.put("5天","day5"); maptest.put("4天","day4"); maptest.put("2天","day2"); maptest.put("3天","da 阅读全文
posted @ 2012-08-17 23:43 bwgang 阅读(1419) 评论(0) 推荐(1) 编辑