/guava/android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
} return value.weakCompareAndSet( doubleToRawLongBits( expect) , doubleToRawLongBits( update) ) ;
return value.weakCompareAndSet ( doubleToRawLongBits ( expect ) , doubleToRawLongBits ( update ) ) ; }
return longBitsToDouble(value.getAndSet(next)); } public final boolean compareAndSet(double expect, double update) { return value.compareAndSet(doubleToRawLongBits(expect), doubleToRawLongBits(update)); } public final boolean weakCompareAndSet(double expect, double update) { <extra_id_0> @CanIgnoreReturnValue public final double getAndAdd(double delta) { while (true) { long current = value.get(); double currentVal = longBitsToDouble(current); double nextVal = currentVal + delta;