Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps

This commit is contained in:
leventov
2015-11-24 23:50:41 +03:00
parent d5fe21a290
commit 582560ed15
21 changed files with 133 additions and 82 deletions
@@ -37,8 +37,9 @@ public class NestedContextsTest {
for (int i = 0; i < 5; i++) {
averageValue.add(i);
}
ChronicleMap<Integer, Set<Integer>> graph = ChronicleMapBuilder
ChronicleMap<Integer, Set<Integer>> graph = ChronicleMap
.of(Integer.class, (Class<Set<Integer>>) (Class) Set.class)
.entries(10)
.averageValue(averageValue)
.actualSegments(2)
.create();