- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for applyAsLong (0.09 sec)
-
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
public long updateAndGet(K key, LongUnaryOperator updaterFunction) { checkNotNull(updaterFunction); Long result = map.compute( key, (k, value) -> updaterFunction.applyAsLong((value == null) ? 0L : value.longValue())); return requireNonNull(result); } /** * Updates the value currently associated with {@code key} with the specified function, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0)