diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/collections/tutorial/collectionswithentities.html | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
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> |
