Chapter 19. Regular Expressions
-
Calendar Utilities
-
Other Utility Classes
-
Further Reading
-
Exercises
-
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 ...
Get Just 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.