Types of Collection Framework

Google Advertisements

Prev Tutorial Next Tutorial

Types of Collection Framework

In the initial version of java the concept of Collection Framework was known as data structures. At that time this concept is unable to full fill all requirement of java application so sun micro-system add some new classes and interfaces in collection framework. Here i will show you old (Legacy Collection Framework) and new (New Collection Framework) both collection framework. Collection Framework are mainly divide in two types they are;

  • Legacy Collection Framework
  • New Collection Framework
collection framework

Legacy Collection Framework

Legacy Collection Framework classes and interfaces are Synchronized and for retrieving data from Legacy Collection Framework we use Enumeration. Classes and interfaces are;

  • Stack
  • Vector
  • Directory
  • HashTable
  • Properties
  • Enumeration

Note: Legacy Collection Framework are Synchronized because of this we can not use Legacy Collection Framework for web based applications.

New Collection Framework

New Collection Framework classes and interfaces are non-Synchronized and for retrieving data from new Collection Framework you can use foreach loop, iterator, listiterator. Classes and interfaces are;

  • ArrayList
  • LinkedList
  • HashSet
  • TreeSet
  • HashMap
  • TreeMap

Note: All new Collection Framework are not Synchronized.


Prev Tutorial Next Tutorial

Google Advertisements

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements


Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: hitesh.xc@gmail.com or 8076671483 Try this Keyword C++ Programs