File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Collections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Collections" Watch "Collections" New topic


Paul Bull
Ranch Hand

Joined: Feb 14, 2001
Posts: 37
Does anyone have any information on when a particular collection
(hashmap,arraylist etc.) should be used over another. What situation a particular collection should be used in, professional examples of how and why certain collections. If anybody knows of any good literature on this topic or has some personal information it would be much appreciated.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Check out the collections framework at


So much trouble in the world -- Bob Marley
Chad McGowan
Ranch Hand

Joined: May 10, 2001
Posts: 265
Bruce Eckel's free book "Thinking in Java" has a really good chapter on this. See
I agree. Here's the link:
subject: Collections
It's not a secret anymore!