Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareAndSet (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       * @param update the new value
       * @return true if successful. False return indicates that the actual value was not equal to the
       *     expected value.
       */
      public final boolean compareAndSet(int i, double expect, double update) {
        return longs.compareAndSet(i, doubleToRawLongBits(expect), doubleToRawLongBits(update));
      }
    
      /**
       * Atomically sets the element at position {@code i} to the given updated value if the current
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top