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_03) on Mon Apr 12 16:25:49 EDT 2010 --> 6<TITLE> 7StoredSortedMap (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-04-12"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="StoredSortedMap (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> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredSortedMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 4.8.30</font></EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../com/sleepycat/collections/StoredSortedKeySet.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/collections/StoredSortedValueSet.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/StoredSortedMap.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="StoredSortedMap.html" target="_top"><B>NO FRAMES</B></A> 63 <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 81DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> 91com.sleepycat.collections</FONT> 92<BR> 93Class StoredSortedMap<K,V></H2> 94<PRE> 95<A HREF="http://java.sun.com/j2se/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 "><A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections">com.sleepycat.collections.StoredMap</A><K,V> 98 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.collections.StoredSortedMap<K,V></B> 99</PRE> 100<DL> 101<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</A><K,V>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><K,V></DD> 102</DL> 103<HR> 104<DL> 105<DT><PRE>public class <B>StoredSortedMap<K,V></B><DT>extends <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections">StoredMap</A><K,V><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><K,V></DL> 106</PRE> 107 108<P> 109A SortedMap view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. 110 111 <p>In addition to the standard SortedMap methods, this class provides the 112 following methods for stored sorted maps only. Note that the use of these 113 methods is not compatible with the standard Java collections interface.</p> 114 <ul> 115 <li><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#headMap(K, boolean)"><CODE>headMap(Object, boolean)</CODE></A></li> 116 <li><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#tailMap(K, boolean)"><CODE>tailMap(Object, boolean)</CODE></A></li> 117 <li><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#subMap(K, boolean, K, boolean)"><CODE>subMap(Object, boolean, Object, boolean)</CODE></A></li> 118 </ul> 119<P> 120 121<P> 122<HR> 123 124<P> 125<!-- ======== NESTED CLASS SUMMARY ======== --> 126 127<A NAME="nested_class_summary"><!-- --></A> 128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 129<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 130<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 131<B>Nested Class Summary</B></FONT></TH> 132</TR> 133</TABLE> 134 <A NAME="nested_classes_inherited_from_class_java.util.Map"><!-- --></A> 135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 136<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 137<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH> 138</TR> 139<TR BGCOLOR="white" CLASS="TableRowColor"> 140<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">V</A>></CODE></TD> 141</TR> 142</TABLE> 143 144 145<!-- ======== CONSTRUCTOR SUMMARY ======== --> 146 147<A NAME="constructor_summary"><!-- --></A> 148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 151<B>Constructor Summary</B></FONT></TH> 152</TR> 153<TR BGCOLOR="white" CLASS="TableRowColor"> 154<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, boolean)">StoredSortedMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 155 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 156 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueEntityBinding, 157 boolean writeAllowed)</CODE> 158 159<BR> 160 Creates a sorted map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredSortedMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 164 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 165 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueEntityBinding, 166 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</CODE> 167 168<BR> 169 Creates a sorted 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> 170</TR> 171<TR BGCOLOR="white" CLASS="TableRowColor"> 172<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, boolean)">StoredSortedMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 173 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 174 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueBinding, 175 boolean writeAllowed)</CODE> 176 177<BR> 178 Creates a sorted map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD> 179</TR> 180<TR BGCOLOR="white" CLASS="TableRowColor"> 181<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredSortedMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 182 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 183 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueBinding, 184 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</CODE> 185 186<BR> 187 Creates a sorted 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> 188</TR> 189</TABLE> 190 191<!-- ========== METHOD SUMMARY =========== --> 192 193<A NAME="method_summary"><!-- --></A> 194<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 195<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 196<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 197<B>Method Summary</B></FONT></TH> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 201<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A><? super <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>></CODE></FONT></TD> 202<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#comparator()">comparator</A></B>()</CODE> 203 204<BR> 205 Returns null since comparators are not supported.</TD> 206</TR> 207<TR BGCOLOR="white" CLASS="TableRowColor"> 208<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 209<CODE> <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A></CODE></FONT></TD> 210<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#firstKey()">firstKey</A></B>()</CODE> 211 212<BR> 213 Returns the first (lowest) key currently in this sorted map.</TD> 214</TR> 215<TR BGCOLOR="white" CLASS="TableRowColor"> 216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 217<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 218<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#headMap(K)">headMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey)</CODE> 219 220<BR> 221 Returns a view of the portion of this sorted set whose keys are 222 strictly less than toKey.</TD> 223</TR> 224<TR BGCOLOR="white" CLASS="TableRowColor"> 225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 226<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 227<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#headMap(K, boolean)">headMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey, 228 boolean toInclusive)</CODE> 229 230<BR> 231 Returns a view of the portion of this sorted map whose elements are 232 strictly less than toKey, optionally including toKey.</TD> 233</TR> 234<TR BGCOLOR="white" CLASS="TableRowColor"> 235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 236<CODE> <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A></CODE></FONT></TD> 237<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#lastKey()">lastKey</A></B>()</CODE> 238 239<BR> 240 Returns the last (highest) element currently in this sorted map.</TD> 241</TR> 242<TR BGCOLOR="white" CLASS="TableRowColor"> 243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 244<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 245<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#subMap(K, boolean, K, boolean)">subMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 246 boolean fromInclusive, 247 <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey, 248 boolean toInclusive)</CODE> 249 250<BR> 251 Returns a view of the portion of this sorted map whose elements are 252 strictly greater than fromKey and strictly less than toKey, 253 optionally including fromKey and toKey.</TD> 254</TR> 255<TR BGCOLOR="white" CLASS="TableRowColor"> 256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 257<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 258<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#subMap(K, K)">subMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 259 <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey)</CODE> 260 261<BR> 262 Returns a view of the portion of this sorted map whose elements range 263 from fromKey, inclusive, to toKey, exclusive.</TD> 264</TR> 265<TR BGCOLOR="white" CLASS="TableRowColor"> 266<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 267<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 268<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#tailMap(K)">tailMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey)</CODE> 269 270<BR> 271 Returns a view of the portion of this sorted map whose elements are 272 greater than or equal to fromKey.</TD> 273</TR> 274<TR BGCOLOR="white" CLASS="TableRowColor"> 275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 276<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></FONT></TD> 277<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredSortedMap.html#tailMap(K, boolean)">tailMap</A></B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 278 boolean fromInclusive)</CODE> 279 280<BR> 281 Returns a view of the portion of this sorted map whose elements are 282 strictly greater than fromKey, optionally including fromKey.</TD> 283</TR> 284</TABLE> 285 <A NAME="methods_inherited_from_class_com.sleepycat.collections.StoredMap"><!-- --></A> 286<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 287<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 288<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.collections.<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections">StoredMap</A></B></TH> 289</TR> 290<TR BGCOLOR="white" CLASS="TableRowColor"> 291<TD><CODE><A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)">append</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#containsKey(java.lang.Object)">containsKey</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#containsValue(java.lang.Object)">containsValue</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicates(K)">duplicates</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#duplicatesMap(K, com.sleepycat.bind.EntryBinding)">duplicatesMap</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#entrySet()">entrySet</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#get(java.lang.Object)">get</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#hashCode()">hashCode</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#keySet()">keySet</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#put(K, V)">put</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#putAll(java.util.Map)">putAll</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#putIfAbsent(K, V)">putIfAbsent</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#remove(java.lang.Object)">remove</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#remove(java.lang.Object, java.lang.Object)">remove</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#replace(K, V)">replace</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#replace(K, V, V)">replace</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#size()">size</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#toString()">toString</A>, <A HREF="../../../com/sleepycat/collections/StoredMap.html#values()">values</A></CODE></TD> 292</TR> 293</TABLE> 294 <A NAME="methods_inherited_from_class_com.sleepycat.collections.StoredContainer"><!-- --></A> 295<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 296<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 297<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> 298</TR> 299<TR BGCOLOR="white" CLASS="TableRowColor"> 300<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> 301</TR> 302</TABLE> 303 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 304<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 305<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 306<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 307</TR> 308<TR BGCOLOR="white" CLASS="TableRowColor"> 309<TD><CODE><A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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> 310</TR> 311</TABLE> 312 <A NAME="methods_inherited_from_class_java.util.SortedMap"><!-- --></A> 313<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 314<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 315<TH ALIGN="left"><B>Methods inherited from interface java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A></B></TH> 316</TR> 317<TR BGCOLOR="white" CLASS="TableRowColor"> 318<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#entrySet()" title="class or interface in java.util">entrySet</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#keySet()" title="class or interface in java.util">keySet</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#values()" title="class or interface in java.util">values</A></CODE></TD> 319</TR> 320</TABLE> 321 <A NAME="methods_inherited_from_class_java.util.Map"><!-- --></A> 322<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 323<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 324<TH ALIGN="left"><B>Methods inherited from interface java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH> 325</TR> 326<TR BGCOLOR="white" CLASS="TableRowColor"> 327<TD><CODE><A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#put(K, V)" title="class or interface in java.util">put</A>, <A HREF="http://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/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>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util">size</A></CODE></TD> 328</TR> 329</TABLE> 330 331<P> 332 333<!-- ========= CONSTRUCTOR DETAIL ======== --> 334 335<A NAME="constructor_detail"><!-- --></A> 336<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 337<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 338<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 339<B>Constructor Detail</B></FONT></TH> 340</TR> 341</TABLE> 342 343<A NAME="StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, boolean)"><!-- --></A><H3> 344StoredSortedMap</H3> 345<PRE> 346public <B>StoredSortedMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 347 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 348 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueBinding, 349 boolean writeAllowed)</PRE> 350<DL> 351<DD>Creates a sorted map view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. 352<P> 353<DL> 354<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 355 and key objects.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value 356 buffers and value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false 357 to create a read-only collection. 358<DT><B>Throws:</B> 359<DD><CODE><A HREF="http://java.sun.com/j2se/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 360 defined or a parameter is invalid. 361<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 362</DL> 363<HR> 364 365<A NAME="StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3> 366StoredSortedMap</H3> 367<PRE> 368public <B>StoredSortedMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 369 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 370 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueBinding, 371 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</PRE> 372<DL> 373<DD>Creates a sorted 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. 374<P> 375<DL> 376<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 377 and key objects.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value 378 buffers and value objects.<DD><CODE>keyAssigner</CODE> - is used by the <A HREF="../../../com/sleepycat/collections/StoredMap.html#append(V)"><CODE>StoredMap.append(V)</CODE></A> method to assign 379 primary keys. 380<DT><B>Throws:</B> 381<DD><CODE><A HREF="http://java.sun.com/j2se/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 382 defined or a parameter is invalid. 383<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 384</DL> 385<HR> 386 387<A NAME="StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, boolean)"><!-- --></A><H3> 388StoredSortedMap</H3> 389<PRE> 390public <B>StoredSortedMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 391 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 392 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueEntityBinding, 393 boolean writeAllowed)</PRE> 394<DL> 395<DD>Creates a sorted map entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. 396<P> 397<DL> 398<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 399 and key objects.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between 400 key/value buffers and entity value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false 401 to create a read-only collection. 402<DT><B>Throws:</B> 403<DD><CODE><A HREF="http://java.sun.com/j2se/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 404 defined or a parameter is invalid. 405<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 406</DL> 407<HR> 408 409<A NAME="StoredSortedMap(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3> 410StoredSortedMap</H3> 411<PRE> 412public <B>StoredSortedMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 413 <A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> keyBinding, 414 <A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> valueEntityBinding, 415 <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</PRE> 416<DL> 417<DD>Creates a sorted 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. 418<P> 419<DL> 420<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 421 and key objects.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between 422 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>StoredMap.append(V)</CODE></A> method to assign 423 primary keys. 424<DT><B>Throws:</B> 425<DD><CODE><A HREF="http://java.sun.com/j2se/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 426 defined or a parameter is invalid. 427<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 428</DL> 429 430<!-- ============ METHOD DETAIL ========== --> 431 432<A NAME="method_detail"><!-- --></A> 433<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 434<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 435<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 436<B>Method Detail</B></FONT></TH> 437</TR> 438</TABLE> 439 440<A NAME="comparator()"><!-- --></A><H3> 441comparator</H3> 442<PRE> 443public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A><? super <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>> <B>comparator</B>()</PRE> 444<DL> 445<DD>Returns null since comparators are not supported. The natural ordering 446 of a stored collection is data byte order, whether the data classes 447 implement the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang"><CODE>Comparable</CODE></A> interface or not. 448 This method does not conform to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#comparator()" title="class or interface in java.util"><CODE>SortedMap.comparator()</CODE></A> 449 interface. 450<P> 451<DD><DL> 452<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#comparator()" title="class or interface in java.util">comparator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 453</DD> 454<DD><DL> 455 456<DT><B>Returns:</B><DD>null.</DL> 457</DD> 458</DL> 459<HR> 460 461<A NAME="firstKey()"><!-- --></A><H3> 462firstKey</H3> 463<PRE> 464public <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> <B>firstKey</B>()</PRE> 465<DL> 466<DD>Returns the first (lowest) key currently in this sorted map. 467 This method conforms to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#firstKey()" title="class or interface in java.util"><CODE>SortedMap.firstKey()</CODE></A> interface. 468<P> 469<DD><DL> 470<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#firstKey()" title="class or interface in java.util">firstKey</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 471</DD> 472<DD><DL> 473 474<DT><B>Returns:</B><DD>the first key. 475<DT><B>Throws:</B> 476<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 477</DD> 478</DL> 479<HR> 480 481<A NAME="lastKey()"><!-- --></A><H3> 482lastKey</H3> 483<PRE> 484public <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> <B>lastKey</B>()</PRE> 485<DL> 486<DD>Returns the last (highest) element currently in this sorted map. 487 This method conforms to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#lastKey()" title="class or interface in java.util"><CODE>SortedMap.lastKey()</CODE></A> interface. 488<P> 489<DD><DL> 490<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#lastKey()" title="class or interface in java.util">lastKey</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 491</DD> 492<DD><DL> 493 494<DT><B>Returns:</B><DD>the last key. 495<DT><B>Throws:</B> 496<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 497</DD> 498</DL> 499<HR> 500 501<A NAME="headMap(java.lang.Object)"><!-- --></A><A NAME="headMap(K)"><!-- --></A><H3> 502headMap</H3> 503<PRE> 504public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>headMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey)</PRE> 505<DL> 506<DD>Returns a view of the portion of this sorted set whose keys are 507 strictly less than toKey. 508 This method conforms to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#headMap(K)" title="class or interface in java.util"><CODE>SortedMap.headMap(K)</CODE></A> interface. 509 510 <p>Note that the return value is a StoredStoredMap and must be treated 511 as such; for example, its iterators must be explicitly closed.</p> 512<P> 513<DD><DL> 514<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#headMap(K)" title="class or interface in java.util">headMap</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 515</DD> 516<DD><DL> 517<DT><B>Parameters:</B><DD><CODE>toKey</CODE> - is the upper bound. 518<DT><B>Returns:</B><DD>the submap. 519<DT><B>Throws:</B> 520<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 521</DD> 522</DL> 523<HR> 524 525<A NAME="headMap(java.lang.Object,boolean)"><!-- --></A><A NAME="headMap(K, boolean)"><!-- --></A><H3> 526headMap</H3> 527<PRE> 528public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>headMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey, 529 boolean toInclusive)</PRE> 530<DL> 531<DD>Returns a view of the portion of this sorted map whose elements are 532 strictly less than toKey, optionally including toKey. 533 This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><CODE>SortedMap</CODE></A> interface. 534 535 <p>Note that the return value is a StoredStoredMap and must be treated 536 as such; for example, its iterators must be explicitly closed.</p> 537<P> 538<DD><DL> 539</DL> 540</DD> 541<DD><DL> 542<DT><B>Parameters:</B><DD><CODE>toKey</CODE> - is the upper bound.<DD><CODE>toInclusive</CODE> - is true to include toKey. 543<DT><B>Returns:</B><DD>the submap. 544<DT><B>Throws:</B> 545<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 546</DD> 547</DL> 548<HR> 549 550<A NAME="tailMap(java.lang.Object)"><!-- --></A><A NAME="tailMap(K)"><!-- --></A><H3> 551tailMap</H3> 552<PRE> 553public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>tailMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey)</PRE> 554<DL> 555<DD>Returns a view of the portion of this sorted map whose elements are 556 greater than or equal to fromKey. 557 This method conforms to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#tailMap(K)" title="class or interface in java.util"><CODE>SortedMap.tailMap(K)</CODE></A> interface. 558 559 <p>Note that the return value is a StoredStoredMap and must be treated 560 as such; for example, its iterators must be explicitly closed.</p> 561<P> 562<DD><DL> 563<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#tailMap(K)" title="class or interface in java.util">tailMap</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 564</DD> 565<DD><DL> 566<DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - is the lower bound. 567<DT><B>Returns:</B><DD>the submap. 568<DT><B>Throws:</B> 569<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 570</DD> 571</DL> 572<HR> 573 574<A NAME="tailMap(java.lang.Object,boolean)"><!-- --></A><A NAME="tailMap(K, boolean)"><!-- --></A><H3> 575tailMap</H3> 576<PRE> 577public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>tailMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 578 boolean fromInclusive)</PRE> 579<DL> 580<DD>Returns a view of the portion of this sorted map whose elements are 581 strictly greater than fromKey, optionally including fromKey. 582 This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><CODE>SortedMap</CODE></A> interface. 583 584 <p>Note that the return value is a StoredStoredMap and must be treated 585 as such; for example, its iterators must be explicitly closed.</p> 586<P> 587<DD><DL> 588</DL> 589</DD> 590<DD><DL> 591<DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - is the lower bound.<DD><CODE>fromInclusive</CODE> - is true to include fromKey. 592<DT><B>Returns:</B><DD>the submap. 593<DT><B>Throws:</B> 594<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 595</DD> 596</DL> 597<HR> 598 599<A NAME="subMap(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="subMap(K, K)"><!-- --></A><H3> 600subMap</H3> 601<PRE> 602public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>subMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 603 <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey)</PRE> 604<DL> 605<DD>Returns a view of the portion of this sorted map whose elements range 606 from fromKey, inclusive, to toKey, exclusive. 607 This method conforms to the <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#subMap(K, K)" title="class or interface in java.util"><CODE>SortedMap.subMap(K, K)</CODE></A> interface. 608 609 <p>Note that the return value is a StoredStoredMap and must be treated 610 as such; for example, its iterators must be explicitly closed.</p> 611<P> 612<DD><DL> 613<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true#subMap(K, K)" title="class or interface in java.util">subMap</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>></CODE></DL> 614</DD> 615<DD><DL> 616<DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - is the lower bound.<DD><CODE>toKey</CODE> - is the upper bound. 617<DT><B>Returns:</B><DD>the submap. 618<DT><B>Throws:</B> 619<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 620</DD> 621</DL> 622<HR> 623 624<A NAME="subMap(java.lang.Object,boolean,java.lang.Object,boolean)"><!-- --></A><A NAME="subMap(K, boolean, K, boolean)"><!-- --></A><H3> 625subMap</H3> 626<PRE> 627public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A><<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A>,<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">V</A>> <B>subMap</B>(<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> fromKey, 628 boolean fromInclusive, 629 <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="type parameter in StoredSortedMap">K</A> toKey, 630 boolean toInclusive)</PRE> 631<DL> 632<DD>Returns a view of the portion of this sorted map whose elements are 633 strictly greater than fromKey and strictly less than toKey, 634 optionally including fromKey and toKey. 635 This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><CODE>SortedMap</CODE></A> interface. 636 637 <p>Note that the return value is a StoredStoredMap and must be treated 638 as such; for example, its iterators must be explicitly closed.</p> 639<P> 640<DD><DL> 641</DL> 642</DD> 643<DD><DL> 644<DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - is the lower bound.<DD><CODE>fromInclusive</CODE> - is true to include fromKey.<DD><CODE>toKey</CODE> - is the upper bound.<DD><CODE>toInclusive</CODE> - is true to include toKey. 645<DT><B>Returns:</B><DD>the submap. 646<DT><B>Throws:</B> 647<DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> is thrown.</DL> 648</DD> 649</DL> 650<!-- ========= END OF CLASS DATA ========= --> 651<HR> 652 653 654<!-- ======= START OF BOTTOM NAVBAR ====== --> 655<A NAME="navbar_bottom"><!-- --></A> 656<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 657<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 658<TR> 659<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 660<A NAME="navbar_bottom_firstrow"><!-- --></A> 661<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 662 <TR ALIGN="center" VALIGN="top"> 663 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 664 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 665 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 666 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredSortedMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 667 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 668 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 669 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 670 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 671 </TR> 672</TABLE> 673</TD> 674<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 675<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 676</TD> 677</TR> 678 679<TR> 680<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 681 <A HREF="../../../com/sleepycat/collections/StoredSortedKeySet.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> 682 <A HREF="../../../com/sleepycat/collections/StoredSortedValueSet.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD> 683<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 684 <A HREF="../../../index.html?com/sleepycat/collections/StoredSortedMap.html" target="_top"><B>FRAMES</B></A> 685 <A HREF="StoredSortedMap.html" target="_top"><B>NO FRAMES</B></A> 686 <SCRIPT type="text/javascript"> 687 <!-- 688 if(window==top) { 689 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 690 } 691 //--> 692</SCRIPT> 693<NOSCRIPT> 694 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 695</NOSCRIPT> 696 697 698</FONT></TD> 699</TR> 700<TR> 701<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 702 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 703<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 704DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 705</TR> 706</TABLE> 707<A NAME="skip-navbar_bottom"></A> 708<!-- ======== END OF BOTTOM NAVBAR ======= --> 709 710<HR> 711<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 712</BODY> 713</HTML> 714