Monday, March 23, 2015

What is Java Collection Framework Architecture ?



Introduction to Collections



Java Collection Framework Architecture


A collection — sometimes called a container — is simply an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate aggregate data. Typically, they represent data items that form a natural group, such as a poker hand (a collection of cards), a mail folder (a collection of letters), or a telephone directory (a mapping of names to phone numbers). If you have used the Java programming language — or just about any other programming language — you are already familiar with collections.



What Is a Collections Framework?


A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following:
  • Interfaces: These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.
  • Implementations: These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures.
  • Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. In essence, algorithms are reusable functionality.



Benefits of the Java Collections Framework

The Java Collections Framework provides the following benefits:
  • Reduces programming effort:
  • Increases program speed and quality:
  • Allows interoperability among unrelated APIs:
  • Reduces effort to learn and to use new APIs:
  • Reduces effort to design new APIs:
  • Fosters software reuse

22 comments:

  1. I am a regular reader of your blog and much impressed in your way of written on Java recent updates. I would like to share with my friends. Thank you admin.
    Regards:
    Java training institutes in chennai
    java courses

    ReplyDelete
  2. Thank you for posting an excellent content, this is the best content I have never seen which is related to current technology. Refer me for IT studies and language courses.
    Regards:
    Big Data Course in Chennai
    Big Data Training Chennai

    ReplyDelete
  3. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    Best Java Training Institute in chennai

    ReplyDelete
  4. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Java training in chennai

    ReplyDelete
  5. Thank you for sharing such a great article. It is much helpful to understand the concept of Java Collection framework.

    Java Training in Chennai
    Java Course in Chennai

    ReplyDelete

  6. Really such a great blog and the content is worthy..Thanks for sharing your experience.
    Java training in Chennai


    ReplyDelete
  7. The young boys ended up stimulated to read through them and now have unquestionably been having fun with these things.
    Click here:
    Online training in USA

    ReplyDelete
  8. I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.Online training in USA

    ReplyDelete
  9. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance the knowledge. Excellent post.

    java training in bangalore

    aws training in bangalore

    ReplyDelete
  10. Learn Advanced Core Java Course in Delhi, Noida & Gurgaon with Lowest Fees. High Technologies Solutions is the Correct Place for Core Java Course. Call Now & Get Free Demo Classes- +91-9311002620, +91-11-40504400.
    More Info-https://www.htsindia.com/Courses/JAVA/core-Java-training-course-institute
    Core Java Course in Delhi, Noida & Gurgaon

    ReplyDelete
  11. Hey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
    best java training in coimbatore
    php training in coimbatore

    ReplyDelete
  12. Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
    Java Training in Chennai | J2EE Training in Chennai | Advanced Java Training in Chennai | Core Java Training in Chennai | Java Training institute in Chennai

    ReplyDelete
  13. Powerful contents are giving more ideas Regarding Technically...and it's used to enhance my knowledge...Keep doing this help ever
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  14. Very useful blog, really appreciate your hardwork.Thank you for the Information.Great information for beginners who will get motivation from this blog.
    Java Training in Chennai

    Java Training in Velachery

    Java Training in Tambaram

    Java Training in Porur

    Java Training in OMR

    Java Training in Annanagar


    ReplyDelete