A Collections Framework is a unified architecture for representing and manipulating Collections. It is a Class hierarchy to handle group of objects.
Collections Frameworks contain the following :
Interfaces : These are abstract data types that represent Collections. Interfaces allow Collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.
Implementations : These are the concrete implementations of the Collection Interfaces. In essence, they are Reusable Data Structures.
Algorithms : These are the methods that perform useful computations, such as searching and sorting, on objects that implement Collection Interfaces. The algorithms are said to bepolymorphic: that is, the same method can be used on many different implementations of the appropriate Collection Interface. In essence, algorithms are reusable functionality.
Collections Frameworks contain the following :
Interfaces : These are abstract data types that represent Collections. Interfaces allow Collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.
Implementations : These are the concrete implementations of the Collection Interfaces. In essence, they are Reusable Data Structures.
Algorithms : These are the methods that perform useful computations, such as searching and sorting, on objects that implement Collection Interfaces. The algorithms are said to bepolymorphic: that is, the same method can be used on many different implementations of the appropriate Collection Interface. In essence, algorithms are reusable functionality.
No comments:
Post a Comment