Java provides the Collections Framework. In the Collection Framework, a collection represents the group of the objects. And a collection framework is the unified architecture that represent and manipulate collections. The collection framework provides a standard common programming interface to many of the most common abstraction without burdening the programmer with many procedures and interfaces. It provides a system for organizing and handling collections. This framework is based on:
Following is the hierarchical representation for the relationship of all four interfaces of the collection framework which illustrates the whole implementation of the framework.
During the designing of a software (application) it need to be remember the following relationship of the four basic interfaces of the framework are as follows:
Some interfaces and classes of the collection framework are as follows:
Every interfaces and classes are explained next in the roseidia.net java tutorial one by one in the various examples.
Advantage of the Collections Framework:
The collections framework offers developers the following benefits:
Interfaces of the collections framework are very easy to use. These interfaces can be transparently substituted to increase the developed application performance.
Recommend the tutorial