Ads Sponsored By Google :)

Monday 21 January 2013

collections|framework in|of java with|on examples|pdf|ppt|api|interview questions and answers|hierarchy|tutorial|codes|free download


collections in java collections in java with examples collections in java pdf collections in java ppt collections framework in java collections in java interview questions collections api in java collections in java examples collections hierarchy in java collections in java tutorial interview questions on collections in java collections interview questions in java collections tutorial in java collections in java interview questions and answers examples of collections in java collections in java interview questions and answers pdf collections in java tutorial with examples collections in java tutorial with examples pdf collections in java tutorial ppt collections in java tutorial pdf collections in java pdf free download collections in java examples codes collections in java examples collections in java examples tutorial


                Collection Frame Work (CFW) or Collections

          Collection frame work is one of the additional service or add-on service developed by sun micro systems and added as a part of jdk for enhancing the performance of java applications.

Definition:
       Collection Framework is standard mechanism of java which allows us to prove or gather different type of values or similar type of values or both the type of values in single variable with dynamic size in nature.
            This single variable is known as Collection Frame Work variable.   
In order to deal with Collection frame work programming we must import a predefined package called java.util.*

Difference     between Arrays and Collection Frame Work
    An array is a collective name given to a group of consecutive memory location which all referred by similar type or homogenous values.
The concept of array containing only homogenous values but not heterogeneous  values. And the concept of arrays contains only fixed size.

      Collection Framework is standard mechanism of java which allows us to prove or gather different type of values or similar type of values or both the type of values in single variable.
It allows us to take both heterogeneous and homogeneous values. And the concept of arrays contains only dynamic size.

Advantages Of Collection Frame Work :

1)    Collection Frame work provides high performances to java applications.

2)    Collection frame work provides adaptability.
Definition : The process of adding the content of one collection frame work variable to another collection frame variable either in the beginning or in the last or in the middle.

3)    Collection frame work is always extendable. (Depends on the incoming flow of data, if size of the collection frame work variable dynamically then it is known as Extendable.).

4)    Collection frame work is one of the algorithmic oriented
4.1) Collection frame work contains built – in sorting techniques.
4.2) Collection frame work contains built – in searching techniques.
4.3) Collection frame work contains built – in preliminary concepts.

Collection frame Work


New Collection Frame:

     The revised form of data structures concet is known as New Collection Frame Work.
New Collection Frame  Work is divided into two types.

         1)    1D/Single CFW.
         2)    2D/Double CFW.

1)    1D CFW/Single CFW:

       1D CFW is one in which the data is organizing in the form of either row or column both not in the form of (key,value) pair.

  1D Collection Frame Work Interfaces :
b)    Java.util.List
c)    Java.util.Set
d)    Java.util.Sortedset

Data Extraction Interfaces are as follows :

1) Iterator (I)
2) ListIterator(I)


1 - D Collection frame work classes are

1)  LinkedList 
2)  ArrayList
3)  HashSet
4)  TreeSet
5)  HashMap
6)  TreeMap


2)    2D CFW/Double CFW:

       2D CFW is one in which the data is organizing in the form of (key,value) pair or rows and columns.
In (key,value) pair,the value of key is must be unique/distinct and value of value may or may not be unique.

       Classes and Interfaces in 2 - D collection frame work are as :
       
      1) Java.util.Map (I)
      2) Java.util.Map.Entry (C)
      3) Java.util.SortedMap (I)
         
         To know about these interfaces and class CLICK HERE TO VIEW

      Legacy CollectionFrameWork :
      
          The earlier versions of java the concept of collection frame work was known as data structures. The concept of data structures was able to fulfill pure requirements of industry and unable to fulfill some other requirements of industry. Hence the concept of data structures was reengineered to the industry on the name of new collectionframework and the existing data structures was renamed as Legacy Collectionframework.

 Legacy CollectionFrameWork contains two types.

             1)      1 – D / single collection frame work.
             2)      2 – D /double collection frame work.
       
       As part of legacy collection frame work we have the following interface and classes.
         1)      Enumeration (I).
         2)      Vector (1 – D)©
         3)      Stack  (1 – D)©
         4)      Dictionary (2 – D)Abstract©
         5)      HashTable(2 – D)©
         6)      Properties(2 – D) ©
        
               To read the values dynamically from keyboard their is a class.

                  Java.util.Scanner or Scanner class




Collection Frame Work In Java Pdf and Ppt Format:

    Here itself we can find the collections pdf and ppt format by clicking the below link we can view it and download.

No comments:

Post a Comment

LinkWithin