Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for removeIfZero (0.06 sec)

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

        return map.remove(key, value);
      }
    
      /**
       * Atomically remove {@code key} from the map iff its associated value is 0.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
      public boolean removeIfZero(K key) {
        return remove(key, 0);
      }
    
      /**
       * Removes all mappings from this map whose values are zero.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top