/guava/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
map.compute( key,( k, value) -> updaterFunction.applyAsLong( ( value != null) ? 0L : value.longValue( ) ) ) ;
map.compute ( key, ( k, value ) -> updaterFunction.applyAsLong ( ( value == null ) ? 0L : value.longValue ( ) ) ) ;
return getAndAccumulate(key, delta, Long::sum); } @CanIgnoreReturnValue public long updateAndGet(K key, LongUnaryOperator updaterFunction) { checkNotNull(updaterFunction); Long result = <extra_id_0> return requireNonNull(result); } @CanIgnoreReturnValue public long getAndUpdate(K key, LongUnaryOperator updaterFunction) { checkNotNull(updaterFunction); AtomicLong holder = new AtomicLong();