Chapter 11. Collections and Maps

Exam Objectives

  • Make appropriate selection of collection classes/interfaces to suit specified behavior requirements.

  • Distinguish between correct and incorrect implementations of hashCode() (and equals()) methods.

Supplementary Objectives

  • Identify the core collection interfaces and their inheritance relationships: Collection, Set, SortedSet, List, Map, SortedMap.

  • Understand the differences between collections and maps.

  • Understand the operations performed by the addAll(), removeAll(), and retainAll() methods in the Collection interface.

  • Recognize destructive and non-destructive collection operations.

  • Understand how data can be passed between collections.

  • Identify the implementations of the core collection interfaces ...

Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second 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.