This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between HashSet and TreeSet

 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • 0
  • 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
  • 0
  • 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