Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testAccumulateAndGetWithSum (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

            assertBitEquals(x, z);
            assertBitEquals(expectedMax, a.get());
          }
        }
      }
    
      /** accumulateAndGet with sum adds given value to current, and returns current value */
      public void testAccumulateAndGetWithSum() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.accumulateAndGet(y, Double::sum);
            assertBitEquals(x + y, z);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top