Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testGetAndAccumulateWithMax (0.1 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 + y, a.get());
          }
        }
      }
    
      /** getAndAccumulate with max stores max of given value to current, and returns previous value */
      public void testGetAndAccumulateWithMax() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.getAndAccumulate(y, Double::max);
            double expectedMax = max(x, y);
    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