Debian Codegraph @

docs/java/com/sleepycat/collections/StoredMap.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 StoredMap (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="StoredMap (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredList.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredSortedEntrySet.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/collections/StoredMap.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="StoredMap.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.collections</FONT>
92 <BR>
93 Class StoredMap&lt;K,V&gt;</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/sleepycat/collections/StoredContainer.html" title="class in com.sleepycat.collections">com.sleepycat.collections.StoredContainer</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.collections.StoredMap&lt;K,V&gt;</B>
98 </PRE>
99 <DL>
100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;K,V&gt;, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;K,V&gt;</DD>
101 </DL>
102 <DL>
103 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="class in com.sleepycat.collections">StoredSortedMap</A></DD>
104 </DL>
105 <HR>
106 <DL>
107 <DT><PRE>public class <B>StoredMap&lt;K,V&gt;</B><DT>extends <A HREF="../../../com/sleepycat/collections/StoredContainer.html" title="class in com.sleepycat.collections">StoredContainer</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;K,V&gt;</DL>
108 </PRE>
109
110 <P>
111 A Map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.
112
113 <p>In addition to the standard Map methods, this class provides the
114 following methods for stored maps only. Note that the use of these methods
115 is not compatible with the standard Java collections interface.</p>
116 <ul>
117 <li><A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicates(K)"><CODE>duplicates(K)</CODE></A></li>
118 <li><A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicatesMap(K, com.sleepycat.bind.EntryBinding)"><CODE>duplicatesMap(K, com.sleepycat.bind.EntryBinding)</CODE></A></li>
119 <li><A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)"><CODE>append(V)</CODE></A></li>
120 </ul>
121 <P>
122
123 <P>
124 <HR>
125
126 <P>
127 <!-- ======== NESTED CLASS SUMMARY ======== -->
128
129 <A NAME="nested_class_summary"><!-- --></A>
130 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133 <B>Nested Class Summary</B></FONT></TH>
134 </TR>
135 </TABLE>
136 &nbsp;<A NAME="nested_classes_inherited_from_class_java.util.Map"><!-- --></A>
137 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
139 <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface java.util.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH>
140 </TR>
141 <TR BGCOLOR="white" CLASS="TableRowColor">
142 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">V</A>&gt;</CODE></TD>
143 </TR>
144 </TABLE>
145 &nbsp;
146
147 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
148
149 <A NAME="constructor_summary"><!-- --></A>
150 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153 <B>Constructor Summary</B></FONT></TH>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, boolean)">StoredMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
157 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
158 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueEntityBinding,
159 boolean&nbsp;writeAllowed)</CODE>
160
161 <BR>
162 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD>
163 </TR>
164 <TR BGCOLOR="white" CLASS="TableRowColor">
165 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
166 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
167 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueEntityBinding,
168 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</CODE>
169
170 <BR>
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> with a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A>.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, boolean)">StoredMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
175 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
176 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueBinding,
177 boolean&nbsp;writeAllowed)</CODE>
178
179 <BR>
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD>
181 </TR>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
184 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
185 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueBinding,
186 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</CODE>
187
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> with a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A>.</TD>
190 </TR>
191 </TABLE>
192 &nbsp;
193 <!-- ========== METHOD SUMMARY =========== -->
194
195 <A NAME="method_summary"><!-- --></A>
196 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
198 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
199 <B>Method Summary</B></FONT></TH>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A></CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)">append</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends a given value returning the newly assigned key.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;boolean</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#containsKey(java.lang.Object)">containsKey</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this map contains the specified key.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;boolean</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#containsValue(java.lang.Object)">containsValue</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this map contains the specified value.</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicates(K)">duplicates</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key)</CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new collection containing the values mapped to the given key
232 in this map.</TD>
233 </TR>
234 <TR BGCOLOR="white" CLASS="TableRowColor">
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236 <CODE>
237 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
238 <TR ALIGN="right" VALIGN="">
239 <TD NOWRAP><FONT SIZE="-1">
240 <CODE>&lt;PK&gt; <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;PK,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></FONT></TD>
241 </TR>
242 </TABLE>
243 </CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicatesMap(K, com.sleepycat.bind.EntryBinding)">duplicatesMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;secondaryKey,
245 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&nbsp;primaryKeyBinding)</CODE>
246
247 <BR>
248 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new map from primary key to value for the subset of records
249 having a given secondary key (duplicates).</TD>
250 </TR>
251 <TR BGCOLOR="white" CLASS="TableRowColor">
252 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&gt;</CODE></FONT></TD>
254 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#entrySet()">entrySet</A></B>()</CODE>
255
256 <BR>
257 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set view of the mappings contained in this map.</TD>
258 </TR>
259 <TR BGCOLOR="white" CLASS="TableRowColor">
260 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261 <CODE>&nbsp;boolean</CODE></FONT></TD>
262 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;other)</CODE>
263
264 <BR>
265 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares the specified object with this map for equality.</TD>
266 </TR>
267 <TR BGCOLOR="white" CLASS="TableRowColor">
268 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A></CODE></FONT></TD>
270 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#get(java.lang.Object)">get</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE>
271
272 <BR>
273 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value to which this map maps the specified key.</TD>
274 </TR>
275 <TR BGCOLOR="white" CLASS="TableRowColor">
276 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
277 <CODE>&nbsp;int</CODE></FONT></TD>
278 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#hashCode()">hashCode</A></B>()</CODE>
279
280 <BR>
281 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
282 </TR>
283 <TR BGCOLOR="white" CLASS="TableRowColor">
284 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;</CODE></FONT></TD>
286 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#keySet()">keySet</A></B>()</CODE>
287
288 <BR>
289 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set view of the keys contained in this map.</TD>
290 </TR>
291 <TR BGCOLOR="white" CLASS="TableRowColor">
292 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A></CODE></FONT></TD>
294 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#put(K, V)">put</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
295 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</CODE>
296
297 <BR>
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Associates the specified value with the specified key in this map
299 (optional operation).</TD>
300 </TR>
301 <TR BGCOLOR="white" CLASS="TableRowColor">
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303 <CODE>&nbsp;void</CODE></FONT></TD>
304 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#putAll(java.util.Map)">putAll</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;? extends <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,? extends <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;map)</CODE>
305
306 <BR>
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies all of the mappings from the specified map to this map (optional
308 operation).</TD>
309 </TR>
310 <TR BGCOLOR="white" CLASS="TableRowColor">
311 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A></CODE></FONT></TD>
313 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#putIfAbsent(K, V)">putIfAbsent</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
314 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</CODE>
315
316 <BR>
317 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the specified key is not already associated with a value, associate
318 it with the given value.</TD>
319 </TR>
320 <TR BGCOLOR="white" CLASS="TableRowColor">
321 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
322 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A></CODE></FONT></TD>
323 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#remove(java.lang.Object)">remove</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE>
324
325 <BR>
326 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the mapping for this key from this map if present (optional
327 operation).</TD>
328 </TR>
329 <TR BGCOLOR="white" CLASS="TableRowColor">
330 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
331 <CODE>&nbsp;boolean</CODE></FONT></TD>
332 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#remove(java.lang.Object, java.lang.Object)">remove</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key,
333 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</CODE>
334
335 <BR>
336 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove entry for key only if currently mapped to given value.</TD>
337 </TR>
338 <TR BGCOLOR="white" CLASS="TableRowColor">
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340 <CODE>&nbsp;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A></CODE></FONT></TD>
341 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#replace(K, V)">replace</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
342 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</CODE>
343
344 <BR>
345 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replace entry for key only if currently mapped to some value.</TD>
346 </TR>
347 <TR BGCOLOR="white" CLASS="TableRowColor">
348 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
349 <CODE>&nbsp;boolean</CODE></FONT></TD>
350 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#replace(K, V, V)">replace</A></B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
351 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;oldValue,
352 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;newValue)</CODE>
353
354 <BR>
355 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replace entry for key only if currently mapped to given value.</TD>
356 </TR>
357 <TR BGCOLOR="white" CLASS="TableRowColor">
358 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359 <CODE>&nbsp;int</CODE></FONT></TD>
360 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#size()">size</A></B>()</CODE>
361
362 <BR>
363 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a non-transactional count of the records in the collection or
364 map.</TD>
365 </TR>
366 <TR BGCOLOR="white" CLASS="TableRowColor">
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
369 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#toString()">toString</A></B>()</CODE>
370
371 <BR>
372 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the map to a string representation for debugging.</TD>
373 </TR>
374 <TR BGCOLOR="white" CLASS="TableRowColor">
375 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></FONT></TD>
377 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredMap.html#values()">values</A></B>()</CODE>
378
379 <BR>
380 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection view of the values contained in this map.</TD>
381 </TR>
382 </TABLE>
383 &nbsp;<A NAME="methods_inherited_from_class_com.sleepycat.collections.StoredContainer"><!-- --></A>
384 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
385 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
386 <TH ALIGN="left"><B>Methods inherited from class com.sleepycat.collections.<A HREF="../../../com/sleepycat/collections/StoredContainer.html" title="class in com.sleepycat.collections">StoredContainer</A></B></TH>
387 </TR>
388 <TR BGCOLOR="white" CLASS="TableRowColor">
389 <TD><CODE><A HREF="../../../com/sleepycat/collections/StoredContainer.html#areDuplicatesAllowed()">areDuplicatesAllowed</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#areDuplicatesOrdered()">areDuplicatesOrdered</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#areKeyRangesAllowed()">areKeyRangesAllowed</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#areKeysRenumbered()">areKeysRenumbered</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#clear()">clear</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#getCursorConfig()">getCursorConfig</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isEmpty()">isEmpty</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isOrdered()">isOrdered</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isSecondary()">isSecondary</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isTransactional()">isTransactional</A>, <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()">isWriteAllowed</A></CODE></TD>
390 </TR>
391 </TABLE>
392 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
393 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
394 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
395 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
396 </TR>
397 <TR BGCOLOR="white" CLASS="TableRowColor">
398 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
399 </TR>
400 </TABLE>
401 &nbsp;<A NAME="methods_inherited_from_class_java.util.Map"><!-- --></A>
402 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
403 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
404 <TH ALIGN="left"><B>Methods inherited from interface java.util.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH>
405 </TR>
406 <TR BGCOLOR="white" CLASS="TableRowColor">
407 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#clear()" title="class or interface in java.util">clear</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</A></CODE></TD>
408 </TR>
409 </TABLE>
410 &nbsp;
411 <P>
412
413 <!-- ========= CONSTRUCTOR DETAIL ======== -->
414
415 <A NAME="constructor_detail"><!-- --></A>
416 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
417 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
418 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
419 <B>Constructor Detail</B></FONT></TH>
420 </TR>
421 </TABLE>
422
423 <A NAME="StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, boolean)"><!-- --></A><H3>
424 StoredMap</H3>
425 <PRE>
426 public <B>StoredMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
427 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
428 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueBinding,
429 boolean&nbsp;writeAllowed)</PRE>
430 <DL>
431 <DD>Creates a map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.
432 <P>
433 <DL>
434 <DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>keyBinding</CODE> - is the binding used to translate between key buffers
435 and key objects.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value
436 buffers and value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
437 to create a read-only collection.
438 <DT><B>Throws:</B>
439 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently
440 defined or a parameter is invalid.
441 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
442 including a <code>DatabaseException</code> on BDB (C edition).</DL>
443 </DL>
444 <HR>
445
446 <A NAME="StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3>
447 StoredMap</H3>
448 <PRE>
449 public <B>StoredMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
450 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
451 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueBinding,
452 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</PRE>
453 <DL>
454 <DD>Creates a map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> with a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A>. Writing is allowed for the created map.
455 <P>
456 <DL>
457 <DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>keyBinding</CODE> - is the binding used to translate between key buffers
458 and key objects.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value
459 buffers and value objects.<DD><CODE>keyAssigner</CODE> - is used by the <A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)"><CODE>append(V)</CODE></A> method to assign
460 primary keys.
461 <DT><B>Throws:</B>
462 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently
463 defined or a parameter is invalid.
464 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
465 including a <code>DatabaseException</code> on BDB (C edition).</DL>
466 </DL>
467 <HR>
468
469 <A NAME="StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, boolean)"><!-- --></A><H3>
470 StoredMap</H3>
471 <PRE>
472 public <B>StoredMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
473 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
474 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueEntityBinding,
475 boolean&nbsp;writeAllowed)</PRE>
476 <DL>
477 <DD>Creates a map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.
478 <P>
479 <DL>
480 <DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>keyBinding</CODE> - is the binding used to translate between key buffers
481 and key objects.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between
482 key/value buffers and entity value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
483 to create a read-only collection.
484 <DT><B>Throws:</B>
485 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently
486 defined or a parameter is invalid.
487 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
488 including a <code>DatabaseException</code> on BDB (C edition).</DL>
489 </DL>
490 <HR>
491
492 <A NAME="StoredMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3>
493 StoredMap</H3>
494 <PRE>
495 public <B>StoredMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A>&nbsp;database,
496 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt;&nbsp;keyBinding,
497 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;valueEntityBinding,
498 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</PRE>
499 <DL>
500 <DD>Creates a map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> with a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A>. Writing is allowed for the created map.
501 <P>
502 <DL>
503 <DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>keyBinding</CODE> - is the binding used to translate between key buffers
504 and key objects.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between
505 key/value buffers and entity value objects.<DD><CODE>keyAssigner</CODE> - is used by the <A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)"><CODE>append(V)</CODE></A> method to assign
506 primary keys.
507 <DT><B>Throws:</B>
508 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently
509 defined or a parameter is invalid.
510 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
511 including a <code>DatabaseException</code> on BDB (C edition).</DL>
512 </DL>
513
514 <!-- ============ METHOD DETAIL ========== -->
515
516 <A NAME="method_detail"><!-- --></A>
517 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
518 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
519 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
520 <B>Method Detail</B></FONT></TH>
521 </TR>
522 </TABLE>
523
524 <A NAME="get(java.lang.Object)"><!-- --></A><H3>
525 get</H3>
526 <PRE>
527 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A> <B>get</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</PRE>
528 <DL>
529 <DD>Returns the value to which this map maps the specified key. If
530 duplicates are allowed, this method returns the first duplicate, in the
531 order in which duplicates are configured, that maps to the specified
532 key.
533
534 This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util"><CODE>Map.get(java.lang.Object)</CODE></A> interface.
535 <P>
536 <DD><DL>
537 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util">get</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
538 </DD>
539 <DD><DL>
540
541 <DT><B>Throws:</B>
542 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
543 including a <code>DatabaseException</code> on BDB (C edition).</DL>
544 </DD>
545 </DL>
546 <HR>
547
548 <A NAME="put(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="put(K, V)"><!-- --></A><H3>
549 put</H3>
550 <PRE>
551 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A> <B>put</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
552 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</PRE>
553 <DL>
554 <DD>Associates the specified value with the specified key in this map
555 (optional operation). If duplicates are allowed and the specified key
556 is already mapped to a value, this method appends the new duplicate
557 after the existing duplicates. This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#put(K, V)" title="class or interface in java.util"><CODE>Map.put(K, V)</CODE></A> interface.
558
559 <p>The key parameter may be null if an entity binding is used and the
560 key will be derived from the value (entity) parameter. If an entity
561 binding is used and the key parameter is non-null, then the key
562 parameter must be equal to the key derived from the value parameter.</p>
563 <P>
564 <DD><DL>
565 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#put(K, V)" title="class or interface in java.util">put</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
566 </DD>
567 <DD><DL>
568
569 <DT><B>Returns:</B><DD>the previous value associated with specified key, or null if
570 there was no mapping for the key or if duplicates are allowed.
571 <DT><B>Throws:</B>
572 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is indexed, or
573 if the collection is read-only.
574 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an entity value binding is used and
575 the primary key of the value given is different than the existing stored
576 primary key.
577 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
578 including a <code>DatabaseException</code> on BDB (C edition).</DL>
579 </DD>
580 </DL>
581 <HR>
582
583 <A NAME="append(java.lang.Object)"><!-- --></A><A NAME="append(V)"><!-- --></A><H3>
584 append</H3>
585 <PRE>
586 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A> <B>append</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</PRE>
587 <DL>
588 <DD>Appends a given value returning the newly assigned key. If a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A> is associated with Store for this map, it will be
589 used to assigned the returned key. Otherwise the Store must be a QUEUE
590 or RECNO database and the next available record number is assigned as
591 the key. This method does not exist in the standard <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>
592 interface.
593
594 <p>Note that for the JE product, QUEUE and RECNO databases are not
595 supported, and therefore a PrimaryKeyAssigner must be associated with
596 the map in order to call this method.</p>
597 <P>
598 <DD><DL>
599 </DL>
600 </DD>
601 <DD><DL>
602 <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value to be appended.
603 <DT><B>Returns:</B><DD>the assigned key.
604 <DT><B>Throws:</B>
605 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is indexed, or
606 if the collection is read-only, or if the Store has no <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A> and is not a QUEUE or RECNO database.
607 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
608 including a <code>DatabaseException</code> on BDB (C edition).</DL>
609 </DD>
610 </DL>
611 <HR>
612
613 <A NAME="remove(java.lang.Object)"><!-- --></A><H3>
614 remove</H3>
615 <PRE>
616 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A> <B>remove</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</PRE>
617 <DL>
618 <DD>Removes the mapping for this key from this map if present (optional
619 operation). If duplicates are allowed, this method removes all
620 duplicates for the given key. This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util"><CODE>Map.remove(java.lang.Object)</CODE></A> interface.
621 <P>
622 <DD><DL>
623 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
624 </DD>
625 <DD><DL>
626
627 <DT><B>Throws:</B>
628 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is read-only.
629 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
630 including a <code>DatabaseException</code> on BDB (C edition).</DL>
631 </DD>
632 </DL>
633 <HR>
634
635 <A NAME="putIfAbsent(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="putIfAbsent(K, V)"><!-- --></A><H3>
636 putIfAbsent</H3>
637 <PRE>
638 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A> <B>putIfAbsent</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
639 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</PRE>
640 <DL>
641 <DD>If the specified key is not already associated with a value, associate
642 it with the given value. This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#putIfAbsent(K, V)" title="class or interface in java.util.concurrent"><CODE>ConcurrentMap.putIfAbsent(K, V)</CODE></A> interface.
643 <P>
644 <DD><DL>
645 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#putIfAbsent(K, V)" title="class or interface in java.util.concurrent">putIfAbsent</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
646 </DD>
647 <DD><DL>
648
649 <DT><B>Throws:</B>
650 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
651 including a <code>DatabaseException</code> on BDB (C edition).</DL>
652 </DD>
653 </DL>
654 <HR>
655
656 <A NAME="remove(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
657 remove</H3>
658 <PRE>
659 public boolean <B>remove</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key,
660 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</PRE>
661 <DL>
662 <DD>Remove entry for key only if currently mapped to given value. This
663 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#remove(java.lang.Object, java.lang.Object)" title="class or interface in java.util.concurrent"><CODE>ConcurrentMap.remove(Object,Object)</CODE></A>
664 interface.
665 <P>
666 <DD><DL>
667 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#remove(java.lang.Object, java.lang.Object)" title="class or interface in java.util.concurrent">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
668 </DD>
669 <DD><DL>
670
671 <DT><B>Throws:</B>
672 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
673 including a <code>DatabaseException</code> on BDB (C edition).</DL>
674 </DD>
675 </DL>
676 <HR>
677
678 <A NAME="replace(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="replace(K, V)"><!-- --></A><H3>
679 replace</H3>
680 <PRE>
681 public <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A> <B>replace</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
682 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;value)</PRE>
683 <DL>
684 <DD>Replace entry for key only if currently mapped to some value. This
685 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K, V)" title="class or interface in java.util.concurrent"><CODE>ConcurrentMap.replace(Object,Object)</CODE></A>
686 interface.
687 <P>
688 <DD><DL>
689 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K, V)" title="class or interface in java.util.concurrent">replace</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
690 </DD>
691 <DD><DL>
692
693 <DT><B>Throws:</B>
694 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
695 including a <code>DatabaseException</code> on BDB (C edition).</DL>
696 </DD>
697 </DL>
698 <HR>
699
700 <A NAME="replace(java.lang.Object,java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="replace(K, V, V)"><!-- --></A><H3>
701 replace</H3>
702 <PRE>
703 public boolean <B>replace</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key,
704 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;oldValue,
705 <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&nbsp;newValue)</PRE>
706 <DL>
707 <DD>Replace entry for key only if currently mapped to given value. This
708 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K, V, V)" title="class or interface in java.util.concurrent"><CODE>ConcurrentMap.replace(Object,Object,Object)</CODE></A> interface.
709 <P>
710 <DD><DL>
711 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K, V, V)" title="class or interface in java.util.concurrent">replace</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
712 </DD>
713 <DD><DL>
714
715 <DT><B>Throws:</B>
716 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
717 including a <code>DatabaseException</code> on BDB (C edition).</DL>
718 </DD>
719 </DL>
720 <HR>
721
722 <A NAME="containsKey(java.lang.Object)"><!-- --></A><H3>
723 containsKey</H3>
724 <PRE>
725 public boolean <B>containsKey</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</PRE>
726 <DL>
727 <DD>Returns true if this map contains the specified key. This method
728 conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util"><CODE>Map.containsKey(java.lang.Object)</CODE></A> interface.
729 <P>
730 <DD><DL>
731 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util">containsKey</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
732 </DD>
733 <DD><DL>
734
735 <DT><B>Throws:</B>
736 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
737 including a <code>DatabaseException</code> on BDB (C edition).</DL>
738 </DD>
739 </DL>
740 <HR>
741
742 <A NAME="containsValue(java.lang.Object)"><!-- --></A><H3>
743 containsValue</H3>
744 <PRE>
745 public boolean <B>containsValue</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</PRE>
746 <DL>
747 <DD>Returns true if this map contains the specified value. When an entity
748 binding is used, this method returns whether the map contains the
749 primary key and value mapping of the entity. This method conforms to
750 the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util"><CODE>Map.containsValue(java.lang.Object)</CODE></A> interface.
751 <P>
752 <DD><DL>
753 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util">containsValue</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
754 </DD>
755 <DD><DL>
756
757 <DT><B>Throws:</B>
758 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
759 including a <code>DatabaseException</code> on BDB (C edition).</DL>
760 </DD>
761 </DL>
762 <HR>
763
764 <A NAME="putAll(java.util.Map)"><!-- --></A><H3>
765 putAll</H3>
766 <PRE>
767 public void <B>putAll</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;? extends <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,? extends <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&nbsp;map)</PRE>
768 <DL>
769 <DD>Copies all of the mappings from the specified map to this map (optional
770 operation). When duplicates are allowed, the mappings in the specified
771 map are effectively appended to the existing mappings in this map, that
772 is no previously existing mappings in this map are replaced. This
773 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util"><CODE>Map.putAll(java.util.Map<? extends K, ? extends V>)</CODE></A> interface.
774 <P>
775 <DD><DL>
776 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util">putAll</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
777 </DD>
778 <DD><DL>
779
780 <DT><B>Throws:</B>
781 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is read-only, or
782 if the collection is indexed.
783 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
784 including a <code>DatabaseException</code> on BDB (C edition).</DL>
785 </DD>
786 </DL>
787 <HR>
788
789 <A NAME="keySet()"><!-- --></A><H3>
790 keySet</H3>
791 <PRE>
792 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&gt; <B>keySet</B>()</PRE>
793 <DL>
794 <DD>Returns a set view of the keys contained in this map. A <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A> is returned if the map supports key ranges. The
795 returned collection will be read-only if the map is read-only. This
796 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#keySet()" title="class or interface in java.util"><CODE>Map.keySet()</CODE></A> interface.
797
798 <p>Note that the return value is a StoredCollection and must be treated
799 as such; for example, its iterators must be explicitly closed.</p>
800 <P>
801 <DD><DL>
802 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#keySet()" title="class or interface in java.util">keySet</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
803 </DD>
804 <DD><DL>
805
806 <DT><B>Returns:</B><DD>a <A HREF="../../../com/sleepycat/collections/StoredKeySet.html" title="class in com.sleepycat.collections"><CODE>StoredKeySet</CODE></A> or a <A HREF="../../../com/sleepycat/collections/StoredSortedKeySet.html" title="class in com.sleepycat.collections"><CODE>StoredSortedKeySet</CODE></A> for this
807 map.
808 <DT><B>Throws:</B>
809 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
810 including a <code>DatabaseException</code> on BDB (C edition).<DT><B>See Also:</B><DD><A HREF="../../../com/sleepycat/collections/StoredContainer.html#areKeyRangesAllowed()"><CODE>StoredContainer.areKeyRangesAllowed()</CODE></A>,
811 <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()"><CODE>StoredContainer.isWriteAllowed()</CODE></A></DL>
812 </DD>
813 </DL>
814 <HR>
815
816 <A NAME="entrySet()"><!-- --></A><H3>
817 entrySet</H3>
818 <PRE>
819 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;&gt; <B>entrySet</B>()</PRE>
820 <DL>
821 <DD>Returns a set view of the mappings contained in this map. A <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A> is returned if the map supports key ranges. The
822 returned collection will be read-only if the map is read-only. This
823 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#entrySet()" title="class or interface in java.util"><CODE>Map.entrySet()</CODE></A> interface.
824
825 <p>Note that the return value is a StoredCollection and must be treated
826 as such; for example, its iterators must be explicitly closed.</p>
827 <P>
828 <DD><DL>
829 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#entrySet()" title="class or interface in java.util">entrySet</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
830 </DD>
831 <DD><DL>
832
833 <DT><B>Returns:</B><DD>a <A HREF="../../../com/sleepycat/collections/StoredEntrySet.html" title="class in com.sleepycat.collections"><CODE>StoredEntrySet</CODE></A> or a <A HREF="../../../com/sleepycat/collections/StoredSortedEntrySet.html" title="class in com.sleepycat.collections"><CODE>StoredSortedEntrySet</CODE></A> for
834 this map.
835 <DT><B>Throws:</B>
836 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
837 including a <code>DatabaseException</code> on BDB (C edition).<DT><B>See Also:</B><DD><A HREF="../../../com/sleepycat/collections/StoredContainer.html#areKeyRangesAllowed()"><CODE>StoredContainer.areKeyRangesAllowed()</CODE></A>,
838 <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()"><CODE>StoredContainer.isWriteAllowed()</CODE></A></DL>
839 </DD>
840 </DL>
841 <HR>
842
843 <A NAME="values()"><!-- --></A><H3>
844 values</H3>
845 <PRE>
846 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt; <B>values</B>()</PRE>
847 <DL>
848 <DD>Returns a collection view of the values contained in this map. A <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A> is returned if the map supports key ranges and the
849 value/entity binding can be used to derive the map's key from its
850 value/entity object. The returned collection will be read-only if the
851 map is read-only. This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#values()" title="class or interface in java.util"><CODE>Map.values()</CODE></A>
852 interface.
853
854 <p>Note that the return value is a StoredCollection and must be treated
855 as such; for example, its iterators must be explicitly closed.</p>
856 <P>
857 <DD><DL>
858 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#values()" title="class or interface in java.util">values</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE></DL>
859 </DD>
860 <DD><DL>
861
862 <DT><B>Returns:</B><DD>a <A HREF="../../../com/sleepycat/collections/StoredValueSet.html" title="class in com.sleepycat.collections"><CODE>StoredValueSet</CODE></A> or a <A HREF="../../../com/sleepycat/collections/StoredSortedValueSet.html" title="class in com.sleepycat.collections"><CODE>StoredSortedValueSet</CODE></A> for
863 this map.
864 <DT><B>Throws:</B>
865 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
866 including a <code>DatabaseException</code> on BDB (C edition).<DT><B>See Also:</B><DD><A HREF="../../../com/sleepycat/collections/StoredContainer.html#areKeyRangesAllowed()"><CODE>StoredContainer.areKeyRangesAllowed()</CODE></A>,
867 <A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()"><CODE>StoredContainer.isWriteAllowed()</CODE></A></DL>
868 </DD>
869 </DL>
870 <HR>
871
872 <A NAME="duplicates(java.lang.Object)"><!-- --></A><A NAME="duplicates(K)"><!-- --></A><H3>
873 duplicates</H3>
874 <PRE>
875 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt; <B>duplicates</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;key)</PRE>
876 <DL>
877 <DD>Returns a new collection containing the values mapped to the given key
878 in this map. This collection's iterator() method is particularly useful
879 for iterating over the duplicates for a given key, since this is not
880 supported by the standard Map interface. This method does not exist in
881 the standard <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> interface.
882
883 <p>If no mapping for the given key is present, an empty collection is
884 returned. If duplicates are not allowed, at most a single value will be
885 in the collection returned. If duplicates are allowed, the returned
886 collection's add() method may be used to add values for the given
887 key.</p>
888 <P>
889 <DD><DL>
890 </DL>
891 </DD>
892 <DD><DL>
893 <DT><B>Parameters:</B><DD><CODE>key</CODE> - is the key for which values are to be returned.
894 <DT><B>Throws:</B>
895 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
896 including a <code>DatabaseException</code> on BDB (C edition).</DL>
897 </DD>
898 </DL>
899 <HR>
900
901 <A NAME="duplicatesMap(java.lang.Object,com.sleepycat.bind.EntryBinding)"><!-- --></A><A NAME="duplicatesMap(K, com.sleepycat.bind.EntryBinding)"><!-- --></A><H3>
902 duplicatesMap</H3>
903 <PRE>
904 public &lt;PK&gt; <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;PK,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt; <B>duplicatesMap</B>(<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>&nbsp;secondaryKey,
905 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A>&nbsp;primaryKeyBinding)</PRE>
906 <DL>
907 <DD>Returns a new map from primary key to value for the subset of records
908 having a given secondary key (duplicates). This method does not exist
909 in the standard <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> interface.
910
911 <p>If no mapping for the given key is present, an empty collection is
912 returned. If duplicates are not allowed, at most a single value will be
913 in the collection returned. If duplicates are allowed, the returned
914 collection's add() method may be used to add values for the given
915 key.</p>
916 <P>
917 <DD><DL>
918 </DL>
919 </DD>
920 <DD><DL>
921 <DT><B>Parameters:</B><DD><CODE>secondaryKey</CODE> - is the secondary key for which duplicates values
922 will be represented by the returned map.<DD><CODE>primaryKeyBinding</CODE> - is the binding used for keys in the returned
923 map.
924 <DT><B>Throws:</B>
925 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
926 including a <code>DatabaseException</code> on BDB (C edition).</DL>
927 </DD>
928 </DL>
929 <HR>
930
931 <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
932 equals</H3>
933 <PRE>
934 public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;other)</PRE>
935 <DL>
936 <DD>Compares the specified object with this map for equality. A value
937 comparison is performed by this method and the stored values are
938 compared rather than calling the equals() method of each element. This
939 method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util"><CODE>Map.equals(java.lang.Object)</CODE></A> interface.
940 <P>
941 <DD><DL>
942 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
943 </DD>
944 <DD><DL>
945
946 <DT><B>Throws:</B>
947 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
948 including a <code>DatabaseException</code> on BDB (C edition).</DL>
949 </DD>
950 </DL>
951 <HR>
952
953 <A NAME="hashCode()"><!-- --></A><H3>
954 hashCode</H3>
955 <PRE>
956 public int <B>hashCode</B>()</PRE>
957 <DL>
958 <DD><DL>
959 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
960 </DD>
961 <DD><DL>
962 </DL>
963 </DD>
964 </DL>
965 <HR>
966
967 <A NAME="size()"><!-- --></A><H3>
968 size</H3>
969 <PRE>
970 public int <B>size</B>()</PRE>
971 <DL>
972 <DD><B>Description copied from class: <CODE><A HREF="../../../com/sleepycat/collections/StoredContainer.html#size()">StoredContainer</A></CODE></B></DD>
973 <DD>Returns a non-transactional count of the records in the collection or
974 map. This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#size()" title="class or interface in java.util"><CODE>Collection.size()</CODE></A> and
975 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util"><CODE>Map.size()</CODE></A> interfaces.
976 <P>
977 <DD><DL>
978 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util">size</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="type parameter in StoredMap">V</A>&gt;</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/sleepycat/collections/StoredContainer.html#size()">size</A></CODE> in class <CODE><A HREF="../../../com/sleepycat/collections/StoredContainer.html" title="class in com.sleepycat.collections">StoredContainer</A></CODE></DL>
979 </DD>
980 <DD><DL>
981 </DL>
982 </DD>
983 </DL>
984 <HR>
985
986 <A NAME="toString()"><!-- --></A><H3>
987 toString</H3>
988 <PRE>
989 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
990 <DL>
991 <DD>Converts the map to a string representation for debugging. WARNING: All
992 mappings will be converted to strings and returned and therefore the
993 returned string may be very large.
994 <P>
995 <DD><DL>
996 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
997 </DD>
998 <DD><DL>
999
1000 <DT><B>Returns:</B><DD>the string representation.
1001 <DT><B>Throws:</B>
1002 <DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown,
1003 including a <code>DatabaseException</code> on BDB (C edition).</DL>
1004 </DD>
1005 </DL>
1006 <!-- ========= END OF CLASS DATA ========= -->
1007 <HR>
1008
1009
1010 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1011 <A NAME="navbar_bottom"><!-- --></A>
1012 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1013 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1014 <TR>
1015 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1016 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1017 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1018 <TR ALIGN="center" VALIGN="top">
1019 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1020 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1021 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1022 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1023 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1024 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1025 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1026 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1027 </TR>
1028 </TABLE>
1029 </TD>
1030 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1031 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
1032 </TD>
1033 </TR>
1034
1035 <TR>
1036 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1037 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredList.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
1038 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredSortedEntrySet.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
1039 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1040 <A HREF="../../../index.html?com/sleepycat/collections/StoredMap.html" target="_top"><B>FRAMES</B></A> &nbsp;
1041 &nbsp;<A HREF="StoredMap.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1042 &nbsp;<SCRIPT type="text/javascript">
1043 <!--
1044 if(window==top) {
1045 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1046 }
1047 //-->
1048 </SCRIPT>
1049 <NOSCRIPT>
1050 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1051 </NOSCRIPT>
1052
1053
1054 </FONT></TD>
1055 </TR>
1056 <TR>
1057 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1058 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1059 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1060 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1061 </TR>
1062 </TABLE>
1063 <A NAME="skip-navbar_bottom"></A>
1064 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1065
1066 <HR>
1067 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
1068 </BODY>
1069 </HTML>