What is a Collections Framework?
A unified architecture for representing and manipulating collections.
All collections frameworks include:
- Interfaces: abstract data types representing collections.
- Implementations: concrete implementations of the collection
interfaces.
- Algorithms: methods that perform useful computations (such as
sorting and searching) on objects that implement collection interfaces.
The benefits of a Collections Framework are:
- Reduces programming effort
- Increases program speed and quality
- Allows interoperability among unrelated APIs
- Reduces effort to learn and use new APIs
- Reduces effort to design new APIs
- Fosters software reuse
|