7 Generics and Collections

CERTIFICATION OBJECTIVES

Image Design Using Collections

Image Override equals() and hashCode(), Distinguish == and equals()

Image Use Generic Versions of Collections Including Set, List, and Map

Image Use Type Parameters, Write Generics methods

Use java.util to Sort and Search Use Comparable and Comparator

Two-Minute Drill

Q&A Self Test

Get SCJP Sun Certified Programmer for Java 6 Study Guide 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.