Module java.base
Package java.util.concurrent.atomic

# Class AtomicInteger

=
public class AtomicInteger
extends java.lang.Number
implements java.io.Serializable

## Constructors

- =
  public AtomicInteger()
- =
  public AtomicInteger(int arg0)

## Methods

- =
  public final int accumulateAndGet(int arg0, java.util.function.IntBinaryOperator arg1)
- =
  public final int addAndGet(int arg0)
- =
  public final int compareAndExchange(int arg0, int arg1)
- =
  public final int compareAndExchangeAcquire(int arg0, int arg1)
- =
  public final int compareAndExchangeRelease(int arg0, int arg1)
- =
  public final boolean compareAndSet(int arg0, int arg1)
- =
  public final int decrementAndGet()
- =
  public double doubleValue()
- =
  public float floatValue()
- =
  public final int get()
- =
  public final int getAcquire()
- =
  public final int getAndAccumulate(int arg0, java.util.function.IntBinaryOperator arg1)
- =
  public final int getAndAdd(int arg0)
- =
  public final int getAndDecrement()
- =
  public final int getAndIncrement()
- =
  public final int getAndSet(int arg0)
- =
  public final int getAndUpdate(java.util.function.IntUnaryOperator arg0)
- =
  public final int getOpaque()
- =
  public final int getPlain()
- =
  public final int incrementAndGet()
- =
  public int intValue()
- =
  public final void lazySet(int arg0)
- =
  public long longValue()
- =
  public final void set(int arg0)
- =
  public final void setOpaque(int arg0)
- =
  public final void setPlain(int arg0)
- =
  public final void setRelease(int arg0)
- =
  public java.lang.String toString()
- =
  public final int updateAndGet(java.util.function.IntUnaryOperator arg0)
- =
  @Deprecated(since="9")
  public final boolean weakCompareAndSet(int arg0, int arg1)
- =
  public final boolean weakCompareAndSetAcquire(int arg0, int arg1)
- =
  public final boolean weakCompareAndSetPlain(int arg0, int arg1)
- =
  public final boolean weakCompareAndSetRelease(int arg0, int arg1)
- =
  public final boolean weakCompareAndSetVolatile(int arg0, int arg1)

## Serialized Form

=

### serialVersionUID

=6214790243416807050

### Serialized Fields

- =
  int value

## Summary

No differences.