This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes hashtable sort Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "hashtable sort" Watch "hashtable sort" New topic
Author

hashtable sort

lili
Greenhorn

Joined: Aug 13, 2001
Posts: 1
I am stock with a hash table and the keys in the hash table is a product code. But when I display the hash table the table is not sorted by the product code. How can I sort the hash table. I heard that I have to export the hash table with enumeration and then sort it. Can you tell me how?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Two things...
1)this forum isn't for question about Java. It is for questions and comments about JavaRanch. try one of the other forums.
2) please reregister with a name that meets our naming standards.
Thanks.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
 
subject: hashtable sort
 
Similar Threads
use hash table to sort
hash code
Hash Table (dunno if I should post it here though)
Doubt in Hash Map and Hash Table
Hash table