Implemented forEachEntry() and forEachEntryWhile()

This commit is contained in:
leventov
2015-01-20 01:00:38 +07:00
parent f53a93275c
commit 06b326ab05
34 changed files with 575 additions and 239 deletions
@@ -493,7 +493,7 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
@NotNull
@Override
public final MapKeyContext<V> acquireContext(K key, V usingValue) {
public final MapKeyContext<K, V> acquireContext(K key, V usingValue) {
VanillaContext<K, KI, MKI, V, VI, MVI> c = acquireContext(key);
// TODO optimize to update lock in certain cases
c.writeLock().lock();