This content has been marked as final. Show 6 replies
Hi,Why not use TreeMap? Try putting all the elements into TreeMap instead of HashMap OR create a TreeMap using the copy constructor which accepts an inplementation of Map. Hope this helps..
Anyone have a tip on how to sort a
java.util.Hashtable by its values?
Any help much appreciated!
Oops. Sorry, I thought you were talking about sorting by keys.
Rather than putting your question in a raw form, if you can elaborate on what you are trying to do, may be I can help better.
I awarded all my DukeDollars to you for the link you provided!=)