倒序遍历Map
ListIterator<Map.Entry<Integer, List<Character>>> li = new ArrayList<>(map1.entrySet()).listIterator(map.size());
while(li.hasPrevious()) { // 如果还有前面的就往前遍历
Map.Entry<Integer, List<Character>> entry = li.previous();
System.out.println(entry.getKey()+":"+entry.getValue());
}