private static final class LongAddables.PureJavaLongAddable extends java.util.concurrent.atomic.AtomicLong implements LongAddable
Modifier | Constructor and Description |
---|---|
private |
PureJavaLongAddable() |
Modifier and Type | Method and Description |
---|---|
void |
add(long x) |
void |
increment() |
long |
sum() |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSet
public void increment()
increment
in interface LongAddable
public void add(long x)
add
in interface LongAddable
public long sum()
sum
in interface LongAddable