C H A P T E R  6

Touring Additional Utility APIs

Chapter 5 introduced you to the Collections Framework, which is a collection of utility APIs. Chapter 6 introduces you to additional utility APIs, specifically the concurrency utilities, Objects, and Random.

Concurrency Utilities

Java 5 introduced the concurrency utilities, which are classes and interfaces that simplify the development of concurrent (multithreaded) applications. These types are located in the java.util.concurrent package and in its java.util.concurrent.atomic and java.util.concurrent.locks subpackages.

The concurrency utilities leverage the low-level Threading API (see Chapter 4) in their implementations and provide higher-level building blocks to simplify creating multithreaded ...

Get Beginning Java 7 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.