Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Java in General and the fly likes Best-practices for java collection classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Best-practices for java collection classes" Watch "Best-practices for java collection classes" New topic

Best-practices for java collection classes

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
Can anyone provide link to any write-up/guide/article which discusses the best-practices in using java collection classes.Basically,the finer points of when/why to use array,vector,set,list etc.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
The Sun Tutorial is often a good place to start. Google for "Sun something tutorial" almost always hits a winner.

I made a crib sheet to help remember which ones have various strengths.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Best-practices for java collection classes