wood burning stoves*
The moose likes Java in General and the fly likes Sorting HashTable by values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Sorting HashTable by values" Watch "Sorting HashTable by values" New topic
Author

Sorting HashTable by values

Vijaishanker bala
Ranch Hand

Joined: Sep 08, 2005
Posts: 82
hi,
I have a HashTable which contains the following entries

Is it possible to sort this hashtable in ascending/descending order of values.

Thanks

Vijai


When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." <br />Linus Torvalds
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
How about


Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sorting HashTable by values