This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "hashtable sort" Watch "hashtable sort" New topic

hashtable sort


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.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: hashtable sort
It's not a secret anymore!