Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getAndUpdate (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return getAndUpdate(key, oldValue -> accumulatorFunction.applyAsLong(oldValue, x));
      }
    
      /**
       * Associates {@code newValue} with {@code key} in this map, and returns the value previously
       * associated with {@code key}, or zero if there was no such value.
       */
      @CanIgnoreReturnValue
      public long put(K key, long newValue) {
        return getAndUpdate(key, x -> newValue);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top