java4all@1986 java. Powered by Blogger.

Important Points in Collections

>> Tuesday, May 24, 2011

To know Collections concept completely  and clearly follow the below steps.
1.Heterogeneous Objects:
                (a)TreeSet and TreeMap doesn't allow Heterogeneous Objects.
2.Insertion Order:
                (b)Only List & it's child Classes ,LinkedHaset ,LinkedHashMap preserved.
3.Duplicate Values: 
                (c)Only List and it's child Classes allow......In Map values are allowed.
4.Display Order:
                (d)For TreeMap and TreeSet as per sorting order.

 5.Null Acceptance:
                (e)HashTable, TreeSet,TreeMap doesn't allow.
6.Synchronized:
                 (f)Vector,Stack,HashTable,properties are Synchronized.

7.Default Sizes:
                  (g)List and Child Classes=10
                      Set and it's child Classes=16 
                      Map & it's child Classes=16.
8.Incermental size/Ratio: 
                    (h)List and it's child Classes=16
                         Set & Map=0.75(loadFactor,fillRatio) 

2 comments:

Muralidhar Nayani May 24, 2011 at 11:47 PM  

Good Collection of Collections.

http://javabynataraj.blogspot.com

khaleel-bapatla May 24, 2011 at 11:51 PM  

hi bhaskar
You have done a great job.keep it up.
by
khaleel

Post a Comment

FaceBook Login

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

Total Pageviews

STATCOUNTER

  © Blogger template Simple n' Sweet by Ourblogtemplates.com 2009

Back to TOP