Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for specialized (0.23 sec)

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

            double z = a.updateAndGet(value -> value - y);
            assertBitEquals(x - y, z);
            assertBitEquals(x - y, a.get());
          }
        }
      }
    
      /** a deserialized serialized atomic holds same value */
      public void testSerialization() throws Exception {
        AtomicDouble a = new AtomicDouble();
        AtomicDouble b = serialClone(a);
        assertNotSame(a, b);
        a.set(-22.0);
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

            AtomicDouble a = new AtomicDouble(x);
            double z = a.addAndGet(y);
            assertBitEquals(x + y, z);
            assertBitEquals(x + y, a.get());
          }
        }
      }
    
      /** a deserialized serialized atomic holds same value */
      public void testSerialization() throws Exception {
        AtomicDouble a = new AtomicDouble();
        AtomicDouble b = serialClone(a);
        assertNotSame(a, b);
        a.set(-22.0);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top