• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between HashSet and TreeSet  RSS feed

 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
Whats the difference between the HashSet and TreeSet class. I mean I want the difference in the way they store the objects.

Regards,
Sivaraman.L
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaDocs for these classes should clearly answer your question. If not, post specific questions about the aspects you didn't understand.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!