Chapter    10

Exploring Additional Utility APIs

In Chapter 10 I continue to explore Java’s utility APIs by introducing Concurrency Utilities, the Date class (for representing time), the Formatter class (for formatting data items), the Random class (for generating random numbers), the Scanner class (for parsing an input stream of characters into integers, strings, and other values), and the APIs for working with ZIP and JAR files.

Exploring the Concurrency Utilities

Java 5 introduced Concurrency Utilities whose classes and interfaces simplify the development of concurrent (multithreaded) applications, and which were extended by Java 6. These types are located in the java.util.concurrent package and in its java.util.concurrent.atomic and java.util.concurrent.locks ...

Get Learn Java for Android Development, Second Edition 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.