[DISCUSSION] LinkedHashMap iteration order.
i30817 at gmail.com
Sat Jul 28 17:41:55 UTC 2007
Well. I've solved it independently hacking a hashmap that also maintains its
access order in a LinkedList in the get, put and remove calls. A pity about
the remove being o(n) but i couldn't find a way to iterate over the
LinkedHashSet in reverse order (which was kinda the point anyway, since
LinkedHashMap is built on LinkedHashSet)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev