可能重复:
Iterating through a LinkedHashMap in reverse order如何反向链接哈希映射?
如何在反序遍历链接哈希地图?地图中是否有预定义的方法来执行此操作?
我创建它,如下所示:
LinkedHashMap<Integer, String> map = new LinkedHashMap<Integer,String>();
map.put(1, "one");
map.put(2, "two");
map.put(3, "three");
见http://stackoverflow.com/questions/7170871/iterating-through-a-linkedhashmap-in-reverse-order – 2012-01-17 10:45:18