The Architecture of Java Collection Framework

According to Wikipedia the Java Collection Framework ( JCF ) is a set of classes and interfaces that implement commonly reusable data structure. Although refereed to as a framework, it works in a manner of a library.

In my opinion, Collection Framework is a collection of some most used data structure like List, Set, Map. Data structure is everything we know. If we want to make a good program or algorithm we must focus on data structure. Because in programming we just work with data. We create, manipulate, retrieve,  delete, search, sort on various type of data. So we need a better organized data. And collection frame help us to choose a better data structure without implement it ourselves. There are lot of data structure which is already implemented in efficient way. We just have to create an object of that and use it. They also provide lots of methods to work with these data structure. This post is all about collection framework and it’s architecture.

Continue reading