/guava/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
return getAndUpdate( i, oldValue -> x.applyAsDouble( oldValue, accumulatorFunction) ) ;
return getAndUpdate ( i, oldValue -> accumulatorFunction.applyAsDouble ( oldValue, x ) ) ;
public double addAndGet(int i, double delta) { return accumulateAndGet(i, delta, Double::sum); } @CanIgnoreReturnValue public final double getAndAccumulate(int i, double x, DoubleBinaryOperator accumulatorFunction) { checkNotNull(accumulatorFunction); <extra_id_0> } @CanIgnoreReturnValue public final double accumulateAndGet(int i, double x, DoubleBinaryOperator accumulatorFunction) { checkNotNull(accumulatorFunction); return updateAndGet(i, oldValue -> accumulatorFunction.applyAsDouble(oldValue, x)); }