Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateWidget (0.18 sec)

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

       * returns the new value. If there is not currently a value associated with {@code key}, the
       * function is applied to {@code 0L}.
       *
       * @since 21.0
       */
      @CanIgnoreReturnValue
      public long updateAndGet(K key, LongUnaryOperator updaterFunction) {
        checkNotNull(updaterFunction);
        Long result =
            map.compute(
                key, (k, value) -> updaterFunction.applyAsLong(value == null ? 0L : value.longValue()));
    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