![]() The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. ![]() In essence, they are reusable data structures. Implementations: These are the concrete implementations of the collection interfaces.In object-oriented languages, interfaces generally form a hierarchy. Interfaces allow collections to be manipulated independently of the details of their representation. Interfaces: These are abstract data types that represent collections. ![]() All collections frameworks contain the following: What Is a Collections Framework?Ī collections framework is a unified architecture for representing and manipulating collections. If you have used the Java programming language or just about any other programming language you are already familiar with collections. Typically, they represent data items that form a natural group, such as a poker hand (a collection of cards), a mail folder (a collection of letters), or a telephone directory (a mapping of names to phone numbers). Collections are used to store, retrieve, manipulate, and communicate aggregate data. A collection sometimes called a container is simply an object that groups multiple elements into a single unit.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |