java4all@1986 java. Powered by Blogger.

What are the advantages of collection Framework?

>> Monday, May 30, 2011

Advantages: Collections framework provides flexibility, performance,
and robustness.

Polymorphic algorithms – sorting, shuffling, reversing, binary search etc.
1.) Set algebra - such as finding subsets, intersections, and unions between objects.
 2.)Performance - collections have much better performance compared to the older Vector and Hashtable classes with
the elimination of synchronization overheads.
 3.)Thread-safety - when synchronization is required, wrapper implementations are provided for temporarily
4.)synchronizing existing collection objects. For J2SE 5.0 use java.util.concurrent package.
 Immutability - when immutability is required wrapper implementations are provided for making a collection
immutable.
5.) Extensibility - interfaces and abstract classes provide an excellent starting point for adding functionality and
features to create specialized object collections

0 comments:

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