Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for applyAsDouble (0.08 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDouble.java

       */
      @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.
       *
       * @param x the update value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top