Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for accumulateAndGet (0.12 seconds)

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

      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
      public long addAndGet(K key, long delta) {
        return accumulateAndGet(key, delta, Long::sum);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the old value.
       */
      @CanIgnoreReturnValue
      public long getAndIncrement(K key) {
    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