Skip to Content
Core Java for the Impatient, 3rd Edition
book

Core Java for the Impatient, 3rd Edition

by Cay S. Horstmann
October 2022
Intermediate to advanced
576 pages
15h 37m
English
Addison-Wesley Professional
Content preview from Core Java for the Impatient, 3rd Edition

Chapter 7

Collections

Many data structures have been developed so programmers can store and retrieve values efficiently. The Java API provides implementations of common data structures and algorithms, as well as a framework to organize them. In this chapter, you will learn how to work with lists, sets, maps, and other collections.

The key points of this chapter are:

  1. The Collection interface provides common methods for all collections, except for maps which are described by the Map interface.

  2. A list is a sequential collection in which each element has an integer index.

  3. A set is optimized for efficient ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Java, 4th Edition

Learning Java, 4th Edition

Patrick Niemeyer, Daniel Leuck
Head First Java, 3rd Edition

Head First Java, 3rd Edition

Kathy Sierra, Bert Bates, Trisha Gee
Learning Java, 6th Edition

Learning Java, 6th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Java in a Nutshell, 7th Edition

Java in a Nutshell, 7th Edition

Benjamin J. Evans, David Flanagan

Publisher Resources

ISBN: 9780138051846