by, 02-18-2012 at 03:59 PM (877 Views)
Unified architecture to manipulate and present the collections is known as collections framework. Following is present in all collections framework:
- Interfaces: Interfaces present the collections and are considered to be an abstract data type. Connections are allowed by interfaces to be manipulated independent of their presentation details. A hierarchy is formed by interface in the object oriented language.
- Implementations: They are collection interface’s concrete implementation. They are considered as those data structures which can be reused.
- Algorithms: Useful computations are performed by these methods.For example sorting & searching on objects at which collection interfaces get implemented. Algorithms are polymorphic which means that similar method could be used for implementation of the collection interfaces.