The java.util Subpackages
Java defines the following subpackages to java.util:
Each is briefly examined here.
java.util.concurrent, java.util.concurrent.atomic, and java.util.concurrent.locks
The java.util.concurrent package along with its two subpackages, java.util.concurrent.atomic
and java.util.concurrent.locks, support concurrent programming. These packages provide
a high-performance alternative to using Java's built-in synchronization features when
thread-safe operation is required. These packages are examined in detail in Chapter 26.
The java.util.jar package provides the ability to read and write Java Archive (JAR) files.
The java.util.logging package provides support for program activity logs, which can be
used to record program actions, and to help find and debug problems.
The java.util.prefs package provides support for user preferences. It is typically used to
support program configuration.
The java.util.regex package provides support for regular expression handling. It is described
in detail in Chapter 27.
The java.util.spi package provides support for service providers. (Added by Java SE 6.)
The java.util.zip package provides the ability to read and write files in the popular ZIP
and GZIP formats. Both ZIP and GZIP input and output streams are available.
Search WWH :