Chapter 19. Utility Classes

The package java.util contains many classes that do not logically belong elsewhere. Several of these classes are very important, such as Date, Vector, EventObject, GregorianCalendar, and Properties. Most of these classes have been around since JDK 1.0, or at least JDK 1.1. This chapter focuses primarily on what is new in Java 2: the Collection Framework. There is also coverage of two classes that are quite important in Java programs: GregorianCalendar and Properties. While EventObject is an important class, you generally encounter it only through a subclass, such as java.awt.event.ActionEvent.

Get PURE Java™ 2 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.