Khangharoth

May 16, 2007

Java Collection :When to Use Which

Filed under: Java — khangharoth @ 3:26 am

This is a presentation made by Divya and Devendra in fresher training at Eigen under me ,Our main aim in this presentation was to dig on Java Collection framework.

One of the thing that i found missing on almost all tutorials on net and in available book’s is some simple strategy to make a choice about which Data-Type to use.What i have seen is most of us only read about all these but in projects we just use one or two data structure say ArrayList ,even if we are adding and deleting the list often than search functionality.

I was just going through this and thought that it will be good idea if other can also view and give their inputs.The idea is to make this template some sort of guideline for choosing a particular data structure in Java.

collection1.png

This is basic flow diagram,go through the ppt and do comment on how to make it more Useful.

Note:Vector are missing in this ppt , should have been part of it.

Collection.ppt

8 Comments »

  1. Just one month earlier i was searching job in Core java field and i have been interviewed by not less than 40 software companies, n this the question i have faced almost every time.
    I guess this is the first question from the collection framework, any company asks to a candidate who is having less than three years of experience in java. Its easy to differentiate between the different data-structures but its really difficult to know what to use when.
    I guess this PPT and this Diagram is very useful for any developer who has to use any data structure in his project and of-course for the people who are preparing for the interviews… [:)]

    Gr8 work Divya n Devendra(better known as Debu)..!!!

    Comment by Manish Kumar — September 20, 2007 @ 10:04 am | Reply

  2. Gr8 Work

    Comment by Manish Kumar — September 20, 2007 @ 10:10 am | Reply

  3. Great work. I was studying for SCJP and Collections questions were haunting me. This tutorial has really helped me. I think it’s the best one about optimum use of Collections.

    Comment by Ankit Garg — August 7, 2008 @ 4:38 am | Reply

  4. Thanks Ankit , hopefully it is useful to you.

    Comment by elope — August 18, 2008 @ 7:20 am | Reply

  5. hey,great work man.

    Comment by Krish — March 19, 2009 @ 7:12 pm | Reply

  6. Good work Divya n Devendra.Its very helpful to Java Developers.

    Comment by Jyoti Swamy — June 12, 2009 @ 3:35 pm | Reply

  7. vry useful information,which is difficult to find elsewhere

    Comment by prince — August 27, 2009 @ 7:22 am | Reply

  8. Very Nice Comparison

    Comment by Arunachala Shetty — October 14, 2009 @ 1:52 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.