Code example for AtomicInteger

Methods: compareAndSet