Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to make sorting in hash table efficient

807580Mar 12 2010 — edited Mar 12 2010
Hi guys,
I am relatively new to collections.
I have a HashTable which has 100000 records in it, when I sort it, it takes a lot of time to get it done.
As the Hashtable methods are synchronised so even I can't use threads to perform this quickely for me.
Can any one provide any solution using multi threading or any other method to achieve the optimization in
sorting the hashtable.


Thanks,
Atul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2010
Added on Mar 12 2010
6 comments
317 views