Collections
A collection is simply an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate aggregate data. 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).
What is a Collections framework?
A collections framework is a unified architecture for representing and manipulating groups of data as a single unit collection. All collections frameworks consist of the following parts:
- Interfaces: The Java collections framework interface provides the abstract data type to represent a collection. The root interface of Collections ...
Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.