- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getAndUpdate (0.05 sec)
-
guava/src/com/google/common/util/concurrent/AtomicDouble.java
* @since 31.1 */ @CanIgnoreReturnValue public final double getAndAccumulate(double x, DoubleBinaryOperator accumulatorFunction) { checkNotNull(accumulatorFunction); return getAndUpdate(oldValue -> accumulatorFunction.applyAsDouble(oldValue, x)); } /** * Atomically updates the current value with the results of applying the given function to the * current and given values. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0)