Results 1 to 6 of 6

Thread: What is Java Collection Framework?

  1. #1
    Join Date
    Dec 2009
    Posts
    59

    What is Java Collection Framework?

    Hello Guys,

    I am studying Object oriented programming. In which the portion of C++ programming is completed and just started Java language. I know about the frame concept of java, but the 'Java Collection Framework' is entirely new concept for me. I am totally confused while understanding this concept. Does anybody know anything about the ' Java Collection Framework'? If yes then please let me know that. Your hello would be appreciable.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What is Java Collection Framework?

    In the 'Java Collections Framework', the interfaces Collection & map are distinct in the hierarchy. The typical application of map is for to allow access to values stored by keys. The Java collections framework is nothing but the set of interfaces and classes that offers an easy method to store collections of objects. The Java Collection Framework is made up of a set of interfaces for working with the groups of objects. The different interfaces describe the different types of groups.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: What is Java Collection Framework?

    Hi friend,

    The main purpose of Java collection framework is to store and retrieve objects and iterate.The Collection Framework provides a standard programming interface to many of the most common abstractions. Hence we have collections lists and maps to facilitate different forms for storage and retrieval process. Collections are for storing a sequence of object references, whereas Maps provide a key-value pair mapping to objects.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: What is Java Collection Framework?

    Hi, following are some Classes and Interfaces of the 'Java Collection Framework':
    • ListIterator Interface.
    • Treemap and HashMap Classes.
    • Iterator Interface.
    • Vector and Stack Classes.
    • Map Interface.
    • Set Interface.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: What is Java Collection Framework?

    "Java Collection Framework" is nothing but a standard framework for developing new data structures that are interoperable. This new framework adds a new degree of maturity to the Java programming language, by providing a more-useful data structure API consistent. It allows for interoperability among unrelated APIs, reduces effort in designing and learning new APIs. It is very easy interfaces along with implementations that can be transparently substituted to improve application performance.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: What is Java Collection Framework?

    A Java Collection Framework comprises various interfaces and classes. In which allows duplicates and introduces positional indexing. The Collection Framework is made up of a set of interfaces for working with the groups of objects. It also provides a wide variety of data structures, for those who don't want to write their own. The Collection Framework provides a well-designed set of interface and classes for sorting and manipulating groups of data as a single unit a collection.

Similar Threads

  1. JAVA - What is garbage collection
    By Bhim in forum Software Development
    Replies: 5
    Last Post: 28-04-2011, 01:13 PM
  2. ArrayList Collection problem in java
    By Bricklayer in forum Software Development
    Replies: 4
    Last Post: 23-07-2010, 01:18 PM
  3. Java - help with Garbage Collection
    By Messenger in forum Software Development
    Replies: 4
    Last Post: 23-07-2010, 10:18 AM
  4. How to convert array to collection in java?
    By Steadfast in forum Software Development
    Replies: 4
    Last Post: 06-02-2010, 04:22 PM
  5. What are the different collection classes of java
    By Sacchidananda in forum Software Development
    Replies: 3
    Last Post: 24-11-2009, 03:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,803,570.66741 seconds with 16 queries