Java Reference
In-Depth Information
Chapter 21. Collections
A
NDREA
: Unhappy the land that has no heroes. G
ALILEO
: No, unhappy
the land that
needs
heroes.
Bertolt Brecht,
Life of Galileo
The
java.util
package contains many useful interfaces, classes, and a
range of subpackages. The classes and interfaces can be roughly divided
into two categories: collections and everything else. This chapter de-
scribes the collection types. You will learn about the other general utilit-
ies in the next chapter.