- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testGetAndSet (0.09 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
; } assertBitEquals(x, aa.get(i)); prev = x; } } } /** getAndSet returns previous value and sets to given value at given index */ public void testGetAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0; for (double x : VALUES) { assertBitEquals(prev, aa.getAndSet(i, x));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.6K bytes - Viewed (0)