This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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!