• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

K&B Book Error?

 
Jon Lee
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In chapter 7, the book states


But I think LinkedHashSets are ordered collections...Am I right?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HashSet do not guarantee any ordering
But LinkedHashSet is ordered set.
 
Jon Lee
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that what I think.

It is probably an error in K&B's book...
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Check here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic