<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Wed Dec 03 16:22:08 EST 2003 --> <TITLE> StoredSortedValueSet (Sleepycat Software, Inc. - Berkeley DB Java API) </TITLE> <META NAME="keywords" CONTENT="com.sleepycat.bdb.collection.StoredSortedValueSet,StoredSortedValueSet class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style"> </HEAD> <SCRIPT> function asd() { parent.document.title="StoredSortedValueSet (Sleepycat Software, Inc. - Berkeley DB Java API)"; } </SCRIPT> <BODY BGCOLOR="white" onload="asd();"> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_top"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredSortedValueSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 4.2.52</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="StoredSortedValueSet.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sleepycat.bdb.collection</FONT> <BR> Class StoredSortedValueSet</H2> <PRE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">java.lang.Object</A> | +--<A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html">com.sleepycat.bdb.collection.StoredContainer</A> | +--<A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html">com.sleepycat.bdb.collection.StoredCollection</A> | +--<A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html">com.sleepycat.bdb.collection.StoredValueSet</A> | +--<B>com.sleepycat.bdb.collection.StoredSortedValueSet</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Cloneable.html">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Collection.html">Collection</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></DD> </DL> <HR> <DL> <DT>public class <B>StoredSortedValueSet</B><DT>extends <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html">StoredValueSet</A><DT>implements <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></DL> <P> The SortedSet returned by Map.values() and which can also be constructed directly if a Map is not needed. Although this collection is a set it may contain duplicate values. Only if an entity value binding is used are all elements guaranteed to be unique. <p>In addition to the standard SortedSet methods, this class provides the following methods for stored sorted value sets only. Note that the use of these methods is not compatible with the standard Java collections interface.</p> <ul> <li><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#headSet(java.lang.Object, boolean)"><CODE>headSet(Object, boolean)</CODE></A></li> <li><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#tailSet(java.lang.Object, boolean)"><CODE>tailSet(Object, boolean)</CODE></A></li> <li><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#subSet(java.lang.Object, boolean, java.lang.Object, boolean)"><CODE>subSet(Object, boolean, Object, boolean)</CODE></A></li> </ul> <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#StoredSortedValueSet(com.sleepycat.bdb.DataIndex, com.sleepycat.bdb.bind.DataBinding, boolean)">StoredSortedValueSet</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html">DataIndex</A> index, <A HREF="../../../../com/sleepycat/bdb/bind/DataBinding.html">DataBinding</A> valueBinding, boolean writeAllowed)</CODE> <BR> Creates a sorted value set view of a <A HREF="../../../../com/sleepycat/bdb/DataIndex.html"><CODE>DataIndex</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#StoredSortedValueSet(com.sleepycat.bdb.DataIndex, com.sleepycat.bdb.bind.EntityBinding, boolean)">StoredSortedValueSet</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html">DataIndex</A> index, <A HREF="../../../../com/sleepycat/bdb/bind/EntityBinding.html">EntityBinding</A> valueEntityBinding, boolean writeAllowed)</CODE> <BR> Creates a sorted value set entity view of a <A HREF="../../../../com/sleepycat/bdb/DataIndex.html"><CODE>DataIndex</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#StoredSortedValueSet(com.sleepycat.bdb.DataStore, com.sleepycat.bdb.bind.EntityBinding, boolean)">StoredSortedValueSet</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html">DataStore</A> store, <A HREF="../../../../com/sleepycat/bdb/bind/EntityBinding.html">EntityBinding</A> valueEntityBinding, boolean writeAllowed)</CODE> <BR> Creates a sorted value set entity view of a <A HREF="../../../../com/sleepycat/bdb/DataStore.html"><CODE>DataStore</CODE></A>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Comparator.html">Comparator</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#comparator()">comparator</A></B>()</CODE> <BR> Returns null since comparators are not supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#first()">first</A></B>()</CODE> <BR> Returns the first (lowest) element currently in this sorted set.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#headSet(java.lang.Object)">headSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue)</CODE> <BR> Returns a view of the portion of this sorted set whose elements are strictly less than toValue.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#headSet(java.lang.Object, boolean)">headSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue, boolean toInclusive)</CODE> <BR> Returns a view of the portion of this sorted set whose elements are strictly less than toValue, optionally including toValue.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#last()">last</A></B>()</CODE> <BR> Returns the last (highest) element currently in this sorted set.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#subSet(java.lang.Object, boolean, java.lang.Object, boolean)">subSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, boolean fromInclusive, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue, boolean toInclusive)</CODE> <BR> Returns a view of the portion of this sorted set whose elements are strictly greater than fromValue and strictly less than toValue, optionally including fromValue and toValue.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#subSet(java.lang.Object, java.lang.Object)">subSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue)</CODE> <BR> Returns a view of the portion of this sorted set whose elements range from fromValue, inclusive, to toValue, exclusive.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#tailSet(java.lang.Object)">tailSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue)</CODE> <BR> Returns a view of the portion of this sorted set whose elements are greater than or equal to fromValue.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedValueSet.html#tailSet(java.lang.Object, boolean)">tailSet</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, boolean fromInclusive)</CODE> <BR> Returns a view of the portion of this sorted set whose elements are strictly greater than fromValue, optionally including fromValue.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sleepycat.bdb.collection.StoredValueSet"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.sleepycat.bdb.collection.<A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html">StoredValueSet</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html#add(java.lang.Object)">add</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html#contains(java.lang.Object)">contains</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html#remove(java.lang.Object)">remove</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html#size()">size</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sleepycat.bdb.collection.StoredCollection"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.sleepycat.bdb.collection.<A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html">StoredCollection</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#addAll(java.util.Collection)">addAll</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#containsAll(java.util.Collection)">containsAll</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#iterator()">iterator</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#iterator(boolean)">iterator</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#join(com.sleepycat.bdb.collection.StoredContainer[], java.lang.Object[])">join</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#join(com.sleepycat.bdb.collection.StoredContainer[], java.lang.Object[], boolean)">join</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#removeAll(java.util.Collection)">removeAll</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#retainAll(java.util.Collection)">retainAll</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#toArray()">toArray</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#toArray(java.lang.Object[])">toArray</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#toList()">toList</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredCollection.html#toString()">toString</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sleepycat.bdb.collection.StoredContainer"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.sleepycat.bdb.collection.<A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html">StoredContainer</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#areDuplicatesAllowed()">areDuplicatesAllowed</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#areDuplicatesOrdered()">areDuplicatesOrdered</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#areKeysRenumbered()">areKeysRenumbered</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#clear()">clear</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isAutoCommit()">isAutoCommit</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isDirtyReadAllowed()">isDirtyReadAllowed</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isDirtyReadEnabled()">isDirtyReadEnabled</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isEmpty()">isEmpty</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isIndexed()">isIndexed</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isOrdered()">isOrdered</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isTransactional()">isTransactional</A>, <A HREF="../../../../com/sleepycat/bdb/collection/StoredContainer.html#isWriteAllowed()">isWriteAllowed</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.util.Set"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from interface java.util.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#add(java.lang.Object)">add</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#addAll(java.util.Collection)">addAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#clear()">clear</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#contains(java.lang.Object)">contains</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#containsAll(java.util.Collection)">containsAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#isEmpty()">isEmpty</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#iterator()">iterator</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#remove(java.lang.Object)">remove</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#removeAll(java.util.Collection)">removeAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#retainAll(java.util.Collection)">retainAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#size()">size</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#toArray()">toArray</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html#toArray(java.lang.Object[])">toArray</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="StoredSortedValueSet(com.sleepycat.bdb.DataStore, com.sleepycat.bdb.bind.EntityBinding, boolean)"><!-- --></A><H3> StoredSortedValueSet</H3> <PRE> public <B>StoredSortedValueSet</B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html">DataStore</A> store, <A HREF="../../../../com/sleepycat/bdb/bind/EntityBinding.html">EntityBinding</A> valueEntityBinding, boolean writeAllowed)</PRE> <DL> <DD>Creates a sorted value set entity view of a <A HREF="../../../../com/sleepycat/bdb/DataStore.html"><CODE>DataStore</CODE></A>. <P> <DT><B>Parameters:</B><DD><CODE>store</CODE> - is the DataStore underlying the new collection.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between key/value buffers and entity value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false to create a read-only collection. <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if formats are not consistently defined or a parameter is invalid. <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> <HR> <A NAME="StoredSortedValueSet(com.sleepycat.bdb.DataIndex, com.sleepycat.bdb.bind.DataBinding, boolean)"><!-- --></A><H3> StoredSortedValueSet</H3> <PRE> public <B>StoredSortedValueSet</B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html">DataIndex</A> index, <A HREF="../../../../com/sleepycat/bdb/bind/DataBinding.html">DataBinding</A> valueBinding, boolean writeAllowed)</PRE> <DL> <DD>Creates a sorted value set view of a <A HREF="../../../../com/sleepycat/bdb/DataIndex.html"><CODE>DataIndex</CODE></A>. <P> <DT><B>Parameters:</B><DD><CODE>index</CODE> - is the DataIndex underlying the new collection.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value buffers and value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false to create a read-only collection. <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if formats are not consistently defined or a parameter is invalid. <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> <HR> <A NAME="StoredSortedValueSet(com.sleepycat.bdb.DataIndex, com.sleepycat.bdb.bind.EntityBinding, boolean)"><!-- --></A><H3> StoredSortedValueSet</H3> <PRE> public <B>StoredSortedValueSet</B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html">DataIndex</A> index, <A HREF="../../../../com/sleepycat/bdb/bind/EntityBinding.html">EntityBinding</A> valueEntityBinding, boolean writeAllowed)</PRE> <DL> <DD>Creates a sorted value set entity view of a <A HREF="../../../../com/sleepycat/bdb/DataIndex.html"><CODE>DataIndex</CODE></A>. <P> <DT><B>Parameters:</B><DD><CODE>index</CODE> - is the DataIndex underlying the new collection.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between key/value buffers and entity value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false to create a read-only collection. <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if formats are not consistently defined or a parameter is invalid. <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="comparator()"><!-- --></A><H3> comparator</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Comparator.html">Comparator</A> <B>comparator</B>()</PRE> <DL> <DD>Returns null since comparators are not supported. The natural ordering of a stored collection is data byte order, whether the data classes implement the <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Comparable.html"><CODE>Comparable</CODE></A> interface or not. This method does not conform to the <CODE>SortedSet.comparator()</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>comparator</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null.</DL> </DD> </DL> <HR> <A NAME="first()"><!-- --></A><H3> first</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>first</B>()</PRE> <DL> <DD>Returns the first (lowest) element currently in this sorted set. This method conforms to the <CODE>SortedSet.first()</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>first</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the first element. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="last()"><!-- --></A><H3> last</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>last</B>()</PRE> <DL> <DD>Returns the last (highest) element currently in this sorted set. This method conforms to the <CODE>SortedSet.last()</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>last</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the last element. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="headSet(java.lang.Object)"><!-- --></A><H3> headSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>headSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements are strictly less than toValue. This method conforms to the <CODE>SortedSet.headSet(java.lang.Object)</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>headSet</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>toValue</CODE> - the upper bound. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="headSet(java.lang.Object, boolean)"><!-- --></A><H3> headSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>headSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue, boolean toInclusive)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements are strictly less than toValue, optionally including toValue. This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html"><CODE>SortedSet</CODE></A> interface. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>toValue</CODE> - is the upper bound.<DD><CODE>toInclusive</CODE> - is true to include toValue. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="tailSet(java.lang.Object)"><!-- --></A><H3> tailSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>tailSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements are greater than or equal to fromValue. This method conforms to the <CODE>SortedSet.tailSet(java.lang.Object)</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>tailSet</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fromValue</CODE> - is the lower bound. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="tailSet(java.lang.Object, boolean)"><!-- --></A><H3> tailSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>tailSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, boolean fromInclusive)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements are strictly greater than fromValue, optionally including fromValue. This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html"><CODE>SortedSet</CODE></A> interface. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fromValue</CODE> - is the lower bound.<DD><CODE>fromInclusive</CODE> - is true to include fromValue. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="subSet(java.lang.Object, java.lang.Object)"><!-- --></A><H3> subSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>subSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements range from fromValue, inclusive, to toValue, exclusive. This method conforms to the <CODE>SortedSet.subSet(java.lang.Object, java.lang.Object)</CODE> interface. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>subSet</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fromValue</CODE> - is the lower bound.<DD><CODE>toValue</CODE> - is the upper bound. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <HR> <A NAME="subSet(java.lang.Object, boolean, java.lang.Object, boolean)"><!-- --></A><H3> subSet</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html">SortedSet</A> <B>subSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> fromValue, boolean fromInclusive, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> toValue, boolean toInclusive)</PRE> <DL> <DD>Returns a view of the portion of this sorted set whose elements are strictly greater than fromValue and strictly less than toValue, optionally including fromValue and toValue. This method does not exist in the standard <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/SortedSet.html"><CODE>SortedSet</CODE></A> interface. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fromValue</CODE> - is the lower bound.<DD><CODE>fromInclusive</CODE> - is true to include fromValue.<DD><CODE>toValue</CODE> - is the upper bound.<DD><CODE>toInclusive</CODE> - is true to include toValue. <DT><B>Returns:</B><DD>the subset. <DT><B>Throws:</B> <DD><CODE>RuntimeExceptionWrapper</CODE> - if a <A HREF="../../../../com/sleepycat/db/DbException.html"><CODE>DbException</CODE></A> is thrown.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_bottom"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredSortedValueSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 4.2.52</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/sleepycat/bdb/collection/StoredValueSet.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="StoredSortedValueSet.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> <font size=1><a href="../../../../../sleepycat/legal.html">Copyright (c) 1996-2003</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font> </BODY> </HTML>