Java Collections

A Java 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). All collections frameworks contain the interfaces (the abstract data types that represent collections), implementations (the concrete implementations of the collection interfaces), and algorithms (the methods that perform useful computations).

Class Materials

Java Colelctions API Slides

Task

Submissions are no longer available.

Badge

The Collector

A Java 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). All collections frameworks contain the interfaces (the abstract data types that represent collections), implementations (the concrete implementations of the collection interfaces), and algorithms (the methods that perform useful computations).