From 810e1da638fb7676f2a6344a36d42582f5013e07 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 17 Nov 2014 11:51:11 +0000 Subject: [PATCH] improved readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b69ab58e3..b7d308b37 100644 --- a/README.md +++ b/README.md @@ -469,20 +469,19 @@ heap, all it does is sets the bond as a proxy to the off heap memory, this proxy `DataValueClasses.newDirectReference(BondVOInterface.class)`, it allows us access to the fields of our entry, directly into the off heap storage. - -as above, ideally you would reuse the `using` variable. +As above, ideally you would reuse the `using` variable. ``` java BondVOInterface using = DataValueClasses.newDirectReference(BondVOInterface.class); for(int i=1;i<=10;i++) { Value bond = map.getUsing(key,using); // this won’t create a new value each time. + double coupon = bond.getCoupon() assert using == bond; // this will always be the same instance } ``` - so when you call : ``` java