diff options
Diffstat (limited to 'docs/collections/tutorial/collectionswithentities.html')
| -rw-r--r-- | docs/collections/tutorial/collectionswithentities.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/collections/tutorial/collectionswithentities.html b/docs/collections/tutorial/collectionswithentities.html index b7ca8e6c..fa47ca57 100644 --- a/docs/collections/tutorial/collectionswithentities.html +++ b/docs/collections/tutorial/collectionswithentities.html @@ -14,7 +14,7 @@ <body> <div xmlns="" class="navheader"> <div class="libver"> - <p>Library Version 11.2.5.3</p> + <p>Library Version 12.1.6.1</p> </div> <table width="100%" summary="Navigation header"> <tr> @@ -52,8 +52,8 @@ <code class="classname">SupplierData</code> and <code class="classname">ShipmentData</code>). </p> <p> - Since the <code class="literal">partValueBinding</code>, <code class="literal">supplierValueBinding</code> - and <code class="literal">shipmentValueBinding</code> were defined as entity bindings in + Since the <code class="literal">partDataBinding</code>, <code class="literal">supplierDataBinding</code> + and <code class="literal">shipmentDataBinding</code> were defined as entity bindings in the prior section, there are no source code changes necessary for creating the stored map objects. </p> @@ -65,14 +65,14 @@ { ... partMap = - new StoredMap(db.getPartDatabase(), - partKeyBinding, partValueBinding, true); + new StoredSortedMap(db.getPartDatabase(), + partKeyBinding, partDataBinding, true); supplierMap = - new StoredMap(db.getSupplierDatabase(), - supplierKeyBinding, supplierValueBinding, true); + new StoredSortedMap(db.getSupplierDatabase(), + supplierKeyBinding, supplierDataBinding, true); shipmentMap = - new StoredMap(db.getShipmentDatabase(), - shipmentKeyBinding, shipmentValueBinding, true); + new StoredSortedMap(db.getShipmentDatabase(), + shipmentKeyBinding, shipmentDataBinding, true); ... } </pre> <p> @@ -80,7 +80,7 @@ <a class="ulink" href="../../java/com/sleepycat/bind/EntityBinding.html" target="_top">EntityBinding</a> will select a different - <a class="ulink" href="../../java/com/sleepycat/collections/StoredMap.html" target="_top">StoredMap</a> + <a class="ulink" href="../../java/com/sleepycat/collections/StoredMap.html" target="_top">StoredSortedMap</a> constructor, but the syntax is the same. In general, an entity binding may be used anywhere that a value binding is used. @@ -121,7 +121,7 @@ public class SampleViews } </pre> <p> Notice that the collection returned by the - <a class="ulink" href="../../java/com/sleepycat/collections/StoredMap.html#values()" target="_top">StoredMap.values</a> + <a class="ulink" href="../../java/com/sleepycat/collections/StoredMap.html#values()" target="_top">StoredSortedMap.values</a> method is actually a <a class="ulink" href="../../java/com/sleepycat/collections/StoredValueSet.html" target="_top">StoredValueSet</a> |
