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

# Class AtomicLong

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

## Constructors

- =
  public AtomicLong()
- =
  public AtomicLong(long arg0)

## Methods

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

## Serialized Form

=

### serialVersionUID

=1927816293512124184

### Serialized Fields

- =
  long value

## Summary

No differences.