Other Utility Classes
Some Light Relief—Exchanging Apples And Crays
This chapter provides an introduction to some classes in the java.util and related packages that have utilities for your code to use. We start with the regular expression support that allows you to do pattern matching of Strings. After that, we look at the Date and Calendar-related classes, which have confused and frustrated many people.
The chapter finishes with a brief look at some data structure classes that predate Collections, but are still useful. The rest of this book is devoted to explaining more Java libraries and showing examples of their ...