Is there any elegant way to reverse the elements' order of LinkedHashMap in Scala?
For instance, I have a LinkedHashMap[Integer, String] like:
[1, "one"]
[2, "two"]
[3, "three"]
What is the best way to get a LinkedHashMap[Integer, String] like:
[3, "three"]
[2, "two"]
[1, "one"]