Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best Book for Learning 5.0 Collections

 
Alan Google
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best book for learning about Java collections (ArrayList, HashMap, etc)? I'm hoping to find something that is up-to-date with the J2SE 5.0 changes.

Which collections are used most often? Which are oddballs for special cases or for backward compatibility? Somebody said that Vector isn't used much anymore.

Which collections should every Java programmer understand?
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either that is not your real name or you are the coolest geek on the planet Alan

For some general information about Generics I can recommend
http://www.langer.camelot.de/GenericsFAQ/JavaGenericsFAQ.html

As to what is the most commonly used, that will very much depend on the programmer and task to be undertaken. However Two of the very broad divisions are the classes that implement Map, i.e storing values as key/value pairs and the rest that store as single elements. Once you have those concepts you then get into the business of the permutations of Sorting.

If you are asking questions like this then you can probably promote yourself above the level of beginner...
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic