Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for applyAsDouble (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      @CanIgnoreReturnValue
      public final double getAndAccumulate(int i, double x, DoubleBinaryOperator accumulatorFunction) {
        checkNotNull(accumulatorFunction);
        return getAndUpdate(i, oldValue -> accumulatorFunction.applyAsDouble(oldValue, x));
      }
    
      /**
       * Atomically updates the element at index {@code i} with the results of applying the given
       * function to the current and given values.
       *
       * @param i the index to update
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top