HCOLL-81 made publicly a single ChronicleMapBuilder, that delegates onto internal implementations

This commit is contained in:
Rob Austin
2014-11-15 09:05:26 +00:00
parent 88df95fc76
commit 49fc123755
54 changed files with 1373 additions and 524 deletions
@@ -37,7 +37,7 @@ public class DefaultValueTest {
ArrayList<Integer> defaultValue = new ArrayList<Integer>();
defaultValue.add(42);
try (ChronicleMap<String, List<Integer>> map = ChronicleMapOnHeapUpdatableBuilder
try (ChronicleMap<String, List<Integer>> map = OnHeapUpdatableChronicleMapBuilder
.of(String.class, (Class<List<Integer>>) ((Class) List.class))
.defaultValue(defaultValue).createPersistedTo(file)) {
ArrayList<Integer> using = new ArrayList<Integer>();
@@ -49,7 +49,7 @@ public class DefaultValueTest {
}
ArrayList<Integer> using = new ArrayList<Integer>();
try (ChronicleMap<String, List<Integer>> map = ChronicleMapOnHeapUpdatableBuilder
try (ChronicleMap<String, List<Integer>> map = OnHeapUpdatableChronicleMapBuilder
.of(String.class, (Class<List<Integer>>) ((Class) List.class))
.createPersistedTo(file)) {
assertEquals(defaultValue, map.acquireUsing("c", using));