I share your concern.
The full name of AtomicInteger in
Java is:
java.util.concurrent.atomic.AtomicInteger
Your screenshot clearly shows a single import line of:
import java.util.concurrent.*;
Which in Java means to import each and every class in the package java.util.concurrent (but not in any sub-packages if any exist).
AtomicInteger is a class, and it lives in package java.util.concurrent.atomic, a "sub-package" of java.util.concurrent
As imports do not include sub-packages, no reference can be made to AtomicInteger without (1) an import of:
(2) an Import of:
(3) or fully qualifying references to it as:
which is rather a mouthful.
The book is published by Sybex, not O'Reilly, but I don't disagree about anything else.