(
K key, BiFunction<? super K, ? super @Nullable V, ? extends @Nullable V> function)
| 4222 | } |
| 4223 | |
| 4224 | @Override |
| 4225 | public @Nullable V compute( |
| 4226 | K key, BiFunction<? super K, ? super @Nullable V, ? extends @Nullable V> function) { |
| 4227 | checkNotNull(key); |
| 4228 | checkNotNull(function); |
| 4229 | int hash = hash(key); |
| 4230 | return segmentFor(hash).compute(key, hash, function); |
| 4231 | } |
| 4232 | |
| 4233 | @Override |
| 4234 | public V computeIfAbsent(K key, Function<? super K, ? extends V> function) { |