Code example for AtomicLong

Methods: decrementAndGet

0
		return myAtomic.compareAndSet(expect, update);
	} 
 
	@Override 
	public long decrementAndGet() { 
		return myAtomic.decrementAndGet();
	} 
 
	@Override 
	public long get() { 
		return myAtomic.get();
	} 
 
	@Override 
	public long getAndAdd(long delta) {
		return myAtomic.getAndAdd(delta);
	} 
 
	@Override 
	public long getAndSet(long value) {
Contextual code suggestions in your IDE  Get Codota for Java