dcsimg
I need to sort a hashtable according to its values instead of the keys..how would i do that?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shumz_F
Posted On:   Wednesday, May 15, 2002 03:58 AM

i have a hashtable containig sites together with the hitcounts(values) for those sites.the sitename therefore forms the hashkey.

i need to sort the values in the hashtable in descendign order. how can i do that??

Re: I need to sort a hashtable according to its values instead of the keys..how would i do that?

Posted By:   mohamed_zafer  
Posted On:   Wednesday, May 15, 2002 04:34 AM

Hi Shumz



Have a lot at this,



http://developer.java.sun.com/developer/qow/archive/170/index.jsp




Mohamed Zafer
About | Sitemap | Contact