public class AtomicInteger
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

An int value that may be updated atomically. See the VarHandle specification for descriptions of the properties of atomic accesses. An AtomicInteger is used in applications such as atomically incremented counters, and cannot be used as a replacement for an java.lang.Integer. However, this class does extend Number to allow uniform access by tools and utilities that deal with numerically-based classes.

extends Number implements Serializable

Since:  1.5