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, weakCompareAndSet
byteValue, shortValue
public ComparableAtomicLong()
public ComparableAtomicLong(long startingValue)
public int compareTo(ComparableAtomicLong o)
compareTo
in interface Comparable<ComparableAtomicLong>
Copyright © 2017. All rights reserved.