• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hashtable sort

 
lili
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic