Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doubleValue (0.14 sec)

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

          at.set(x);
          assertEquals((float) x, at.floatValue());
        }
      }
    
      /** doubleValue returns current value. */
      public void testDoubleValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0.0d, at.doubleValue());
        for (double x : VALUES) {
          at.set(x);
          assertBitEquals(x, at.doubleValue());
        }
      }
    
      /** compareAndSet treats +0.0 and -0.0 as distinct values */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
Back to top