Collections

The Java Collections Framework is a collection of interfaces and classes which helps in storing and processing the data efficiently. This framework has several useful classes which have tons of useful functions which makes a programmer task super easy.

Here are the main concepts of collections: 

MAP(interface)
         |---  AbstractMap
         |                WeakHashMap
         |                IdentityHashMap
         |                HashMap ----------> LinkedHashMap
         |                 TreeMap
         |
         |---  SortedMap

QUEUE
         |---DeQueue----> ArrayDeQueue
         |
         |---PriorityQueue
         
SET
         |--- HashSet
         |--- LinkedHashSet
         |--- SortedSet
                       |----- TreeSet


LIST
        |--- ArrayList
        |--- LinkedList
        |--- Vector
                    |--- Stack

No comments:

Post a Comment