O'Reilly logo

Learn Java for Android Development, Second Edition by Jeff Friesen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required