public class ComparableAtomicLong extends AtomicLong implements Comparable<ComparableAtomicLong>
| Constructor and Description |
|---|
ComparableAtomicLong() |
ComparableAtomicLong(long startingValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ComparableAtomicLong o) |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSetbyteValue, shortValuepublic ComparableAtomicLong()
public ComparableAtomicLong(long startingValue)
public int compareTo(ComparableAtomicLong o)
compareTo in interface Comparable<ComparableAtomicLong>Copyright © 2018. All rights reserved.