mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-234 as agreeded changed method name to "putWithMapping()"
This commit is contained in:
@@ -490,7 +490,7 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable, Clon
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public <R> R updateForKey(@Nullable K key, @NotNull Mutator<? super V, R> mutator) {
|
||||
public <R> R putWithMapping(@Nullable K key, @NotNull Mutator<? super V, R> mutator) {
|
||||
if (key == null)
|
||||
throw keyNotNullNPE();
|
||||
return fetchObject(UPDATE_FOR_KEY, key, mutator);
|
||||
|
||||
Reference in New Issue
Block a user