If you didn't need to handle additional put()s and remove()s, you could use SequenceHashMap and just be sure to put the items into the map in order.
K.C. -----Original Message----- From: Willie Vu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:28 PM To: [EMAIL PROTECTED] Subject: [collections] Sort map by value I've a map where the key is to lookup an item and the value is a title for display. The titles are not unique. I want to sort the map by the titles. SortedMap only sorts by key. DoubleOrderedMap forces values to be unique. Neither satisfies my requirement. Does anyone know a map implementation that does what I want? -- Willie Vu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
