aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Best-practices for java collection classes" Watch "Best-practices for java collection classes" New topic
Author

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: http://aspose.com/file-tools
 
subject: Best-practices for java collection classes