HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API

This commit is contained in:
leventov
2015-07-24 20:11:58 +03:00
parent 912a3cc2fc
commit 9fe1dab477
32 changed files with 196 additions and 231 deletions
@@ -68,8 +68,8 @@ public class SimpleMapOperationsListeningTest {
map.acquireUsing(3, value).addAtomicValue(1);
IntValue value2 = DataValueClasses.newDirectInstance(IntValue.class);
value2.setValue(5);
map.forEachEntry(c -> c.put(value2));
map.forEachEntry(c -> c.remove());
map.forEachEntry(e -> e.context().replaceValue(e, e.context().wrapValueAsData(value2)));
map.forEachEntry(e -> e.context().remove(e));
}
}