[DISCUSSION] LinkedHashMap iteration order.

Paulo Levi 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...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20070728/41d85d46/attachment.html>

More information about the core-libs-dev mailing list