HCOLL-230 - updated readme

This commit is contained in:
Rob Austin
2014-12-12 10:15:30 +00:00
parent f55ae1547f
commit dcd75ccd97
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -468,10 +468,10 @@ the off heap data structures directly, this reduced serialisation can give you a
Below we show you how you can work directly with the off heap entries.
``` java
ChronicleMap<CharSequence, BondVOInterface> chm = ChronicleMapBuilder
.of(String.class, BondVOInterface.class)
.keySize(10)
.create();
ChronicleMap<CharSequence, BondVOInterface> map = ChronicleMapBuilder
.of(String.class, BondVOInterface.class)
.keySize(10)
.create();
```
notice that the
@@ -89,7 +89,7 @@ public class CHMUseCasesTest {
public void testCharSequenceCharSequenceMap() throws ExecutionException, InterruptedException {
try (ChronicleMap<CharSequence, CharSequence> map = ChronicleMapBuilder
.of(CharSequence.class, CharSequence.class) // for testing purposes only
.defaultValue("")
// .defaultValue("")
.create()) {
map.put("Hello", "World");
StringBuilder key = new StringBuilder();