aspose file tools*
The moose likes Beginning Java and the fly likes Best Book for Learning 5.0 Collections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Best Book for Learning 5.0 Collections" Watch "Best Book for Learning 5.0 Collections" New topic
Author

Best Book for Learning 5.0 Collections

Alan Google
Greenhorn

Joined: Nov 16, 2003
Posts: 9
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

Joined: Sep 14, 1999
Posts: 2813
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...


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Best Book for Learning 5.0 Collections