Iterating through a LinkedHashMap in reverse order
Asked 2011-08-24T05:33:19.233
45
I have a LinkedHashMap:
LinkedHashMap<String, RecordItemElement>
that I need to iterate through from a given key's position, backwards. So if I was given the 10th item's key, I'd need iterate backwards through the hashmap 9, 8, 7 etc.