HCOLL-234 as agreeded changed method name to "putWithMapping()"

This commit is contained in:
Rob Austin
2014-12-09 12:07:15 +00:00
parent 91bc848127
commit 2df0426d83
7 changed files with 21 additions and 26 deletions
@@ -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);