| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:05 EDT 2013 --> |
| 6 |
<TITLE> |
| 7 |
StoredList (Oracle - Berkeley DB Java API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="date" CONTENT="2013-09-09"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
if (location.href.indexOf('is-external=true') == -1) { |
| 18 |
parent.document.title="StoredList (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/StoredList.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 5.3.28</font></EM> |
| 53 |
</TD> |
| 54 |
</TR> |
| 55 |
|
| 56 |
<TR> |
| 57 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 58 |
<A HREF="../../../com/sleepycat/collections/StoredKeySet.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../com/sleepycat/collections/StoredMap.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/StoredList.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="StoredList.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 | <A HREF="#fields_inherited_from_class_com.sleepycat.collections.StoredCollection">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: 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"> |
| 91 |
com.sleepycat.collections</FONT> |
| 92 |
<BR> |
| 93 |
Class StoredList<E></H2> |
| 94 |
<PRE> |
| 95 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| 96 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/sleepycat/collections/StoredContainer.html" title="class in com.sleepycat.collections">com.sleepycat.collections.StoredContainer</A> |
| 97 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">com.sleepycat.collections.StoredCollection</A><E> |
| 98 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.collections.StoredList<E></B> |
| 99 |
</PRE> |
| 100 |
<DL> |
| 101 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><E>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><E>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><E></DD> |
| 102 |
</DL> |
| 103 |
<HR> |
| 104 |
<DL> |
| 105 |
<DT><PRE>public class <B>StoredList<E></B><DT>extends <A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">StoredCollection</A><E><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><E></DL> |
| 106 |
</PRE> |
| 107 |
|
| 108 |
<P> |
| 109 |
A List view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. |
| 110 |
|
| 111 |
<p>For all stored lists the keys of the underlying Database |
| 112 |
must have record number format, and therefore the store or index must be a |
| 113 |
RECNO, RECNO-RENUMBER, QUEUE, or BTREE-RECNUM database. Only RECNO-RENUMBER |
| 114 |
allows true list behavior where record numbers are renumbered following the |
| 115 |
position of an element that is added or removed. For the other access |
| 116 |
methods (RECNO, QUEUE, and BTREE-RECNUM), stored Lists are most useful as |
| 117 |
read-only collections where record numbers are not required to be |
| 118 |
sequential.</p> |
| 119 |
|
| 120 |
<p>In addition to the standard List methods, this class provides the |
| 121 |
following methods for stored lists only. Note that the use of these methods |
| 122 |
is not compatible with the standard Java collections interface.</p> |
| 123 |
<ul> |
| 124 |
<li><A HREF="../../../com/sleepycat/collections/StoredList.html#append(E)"><CODE>append(Object)</CODE></A></li> |
| 125 |
</ul> |
| 126 |
<P> |
| 127 |
|
| 128 |
<P> |
| 129 |
<HR> |
| 130 |
|
| 131 |
<P> |
| 132 |
<!-- =========== FIELD SUMMARY =========== --> |
| 133 |
|
| 134 |
<A NAME="field_summary"><!-- --></A> |
| 135 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 136 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 137 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 138 |
<B>Field Summary</B></FONT></TH> |
| 139 |
</TR> |
| 140 |
</TABLE> |
| 141 |
<A NAME="fields_inherited_from_class_com.sleepycat.collections.StoredCollection"><!-- --></A> |
| 142 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 143 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 144 |
<TH ALIGN="left"><B>Fields inherited from class com.sleepycat.collections.<A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">StoredCollection</A></B></TH> |
| 145 |
</TR> |
| 146 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 147 |
<TD><CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html#DEFAULT_ITERATOR_BLOCK_SIZE">DEFAULT_ITERATOR_BLOCK_SIZE</A></CODE></TD> |
| 148 |
</TR> |
| 149 |
</TABLE> |
| 150 |
|
| 151 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 152 |
|
| 153 |
<A NAME="constructor_summary"><!-- --></A> |
| 154 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 155 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 156 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 157 |
<B>Constructor Summary</B></FONT></TH> |
| 158 |
</TR> |
| 159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 160 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntityBinding, boolean)">StoredList</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 161 |
<A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueEntityBinding, |
| 162 |
boolean writeAllowed)</CODE> |
| 163 |
|
| 164 |
<BR> |
| 165 |
Creates a list entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD> |
| 166 |
</TR> |
| 167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 168 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredList</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 169 |
<A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueEntityBinding, |
| 170 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</CODE> |
| 171 |
|
| 172 |
<BR> |
| 173 |
Creates a list 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> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, boolean)">StoredList</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 177 |
<A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueBinding, |
| 178 |
boolean writeAllowed)</CODE> |
| 179 |
|
| 180 |
<BR> |
| 181 |
Creates a list view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>.</TD> |
| 182 |
</TR> |
| 183 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 184 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)">StoredList</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 185 |
<A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueBinding, |
| 186 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</CODE> |
| 187 |
|
| 188 |
<BR> |
| 189 |
Creates a list view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> with a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A>.</TD> |
| 190 |
</TR> |
| 191 |
</TABLE> |
| 192 |
|
| 193 |
<!-- ========== METHOD SUMMARY =========== --> |
| 194 |
|
| 195 |
<A NAME="method_summary"><!-- --></A> |
| 196 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 197 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 198 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 199 |
<B>Method Summary</B></FONT></TH> |
| 200 |
</TR> |
| 201 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 202 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 203 |
<CODE> boolean</CODE></FONT></TD> |
| 204 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#add(E)">add</A></B>(<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</CODE> |
| 205 |
|
| 206 |
<BR> |
| 207 |
Appends the specified element to the end of this list (optional |
| 208 |
operation).</TD> |
| 209 |
</TR> |
| 210 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 211 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 212 |
<CODE> void</CODE></FONT></TD> |
| 213 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#add(int, E)">add</A></B>(int index, |
| 214 |
<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</CODE> |
| 215 |
|
| 216 |
<BR> |
| 217 |
Inserts the specified element at the specified position in this list |
| 218 |
(optional operation).</TD> |
| 219 |
</TR> |
| 220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 221 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 222 |
<CODE> boolean</CODE></FONT></TD> |
| 223 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#addAll(int, java.util.Collection)">addAll</A></B>(int index, |
| 224 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><? extends <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> coll)</CODE> |
| 225 |
|
| 226 |
<BR> |
| 227 |
Inserts all of the elements in the specified collection into this list |
| 228 |
at the specified position (optional operation).</TD> |
| 229 |
</TR> |
| 230 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 231 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 232 |
<CODE> int</CODE></FONT></TD> |
| 233 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#append(E)">append</A></B>(<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</CODE> |
| 234 |
|
| 235 |
<BR> |
| 236 |
Appends a given value returning the newly assigned index.</TD> |
| 237 |
</TR> |
| 238 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 239 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 240 |
<CODE> boolean</CODE></FONT></TD> |
| 241 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#contains(java.lang.Object)">contains</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> |
| 242 |
|
| 243 |
<BR> |
| 244 |
Returns true if this list contains the specified element.</TD> |
| 245 |
</TR> |
| 246 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 247 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 248 |
<CODE> boolean</CODE></FONT></TD> |
| 249 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</CODE> |
| 250 |
|
| 251 |
<BR> |
| 252 |
Compares the specified object with this list for equality.</TD> |
| 253 |
</TR> |
| 254 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 255 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 256 |
<CODE> <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A></CODE></FONT></TD> |
| 257 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#get(int)">get</A></B>(int index)</CODE> |
| 258 |
|
| 259 |
<BR> |
| 260 |
Returns the element at the specified position in this list.</TD> |
| 261 |
</TR> |
| 262 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 263 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 264 |
<CODE> int</CODE></FONT></TD> |
| 265 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#hashCode()">hashCode</A></B>()</CODE> |
| 266 |
|
| 267 |
<BR> |
| 268 |
</TD> |
| 269 |
</TR> |
| 270 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 271 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 272 |
<CODE> int</CODE></FONT></TD> |
| 273 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#indexOf(java.lang.Object)">indexOf</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> |
| 274 |
|
| 275 |
<BR> |
| 276 |
Returns the index in this list of the first occurrence of the specified |
| 277 |
element, or -1 if this list does not contain this element.</TD> |
| 278 |
</TR> |
| 279 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 280 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 281 |
<CODE> int</CODE></FONT></TD> |
| 282 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#lastIndexOf(java.lang.Object)">lastIndexOf</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> |
| 283 |
|
| 284 |
<BR> |
| 285 |
Returns the index in this list of the last occurrence of the specified |
| 286 |
element, or -1 if this list does not contain this element.</TD> |
| 287 |
</TR> |
| 288 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 289 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 290 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></FONT></TD> |
| 291 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#listIterator()">listIterator</A></B>()</CODE> |
| 292 |
|
| 293 |
<BR> |
| 294 |
Returns a list iterator of the elements in this list (in proper |
| 295 |
sequence).</TD> |
| 296 |
</TR> |
| 297 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 298 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 299 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></FONT></TD> |
| 300 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#listIterator(int)">listIterator</A></B>(int index)</CODE> |
| 301 |
|
| 302 |
<BR> |
| 303 |
Returns a list iterator of the elements in this list (in proper |
| 304 |
sequence), starting at the specified position in this list.</TD> |
| 305 |
</TR> |
| 306 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 307 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 308 |
<CODE> <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A></CODE></FONT></TD> |
| 309 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#remove(int)">remove</A></B>(int index)</CODE> |
| 310 |
|
| 311 |
<BR> |
| 312 |
Removes the element at the specified position in this list (optional |
| 313 |
operation).</TD> |
| 314 |
</TR> |
| 315 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 316 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 317 |
<CODE> boolean</CODE></FONT></TD> |
| 318 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#remove(java.lang.Object)">remove</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> |
| 319 |
|
| 320 |
<BR> |
| 321 |
Removes the first occurrence in this list of the specified element |
| 322 |
(optional operation).</TD> |
| 323 |
</TR> |
| 324 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 325 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 326 |
<CODE> <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A></CODE></FONT></TD> |
| 327 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#set(int, E)">set</A></B>(int index, |
| 328 |
<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</CODE> |
| 329 |
|
| 330 |
<BR> |
| 331 |
Replaces the element at the specified position in this list with the |
| 332 |
specified element (optional operation).</TD> |
| 333 |
</TR> |
| 334 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 335 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 336 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></FONT></TD> |
| 337 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/StoredList.html#subList(int, int)">subList</A></B>(int fromIndex, |
| 338 |
int toIndex)</CODE> |
| 339 |
|
| 340 |
<BR> |
| 341 |
Returns a view of the portion of this list between the specified |
| 342 |
fromIndex, inclusive, and toIndex, exclusive.</TD> |
| 343 |
</TR> |
| 344 |
</TABLE> |
| 345 |
<A NAME="methods_inherited_from_class_com.sleepycat.collections.StoredCollection"><!-- --></A> |
| 346 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 347 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 348 |
<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.collections.<A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">StoredCollection</A></B></TH> |
| 349 |
</TR> |
| 350 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 351 |
<TD><CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html#addAll(java.util.Collection)">addAll</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#containsAll(java.util.Collection)">containsAll</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#getIteratorBlockSize()">getIteratorBlockSize</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#iterator()">iterator</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#iterator(boolean)">iterator</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#join(com.sleepycat.collections.StoredContainer[], java.lang.Object[], com.sleepycat.db.JoinConfig)">join</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#removeAll(java.util.Collection)">removeAll</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#retainAll(java.util.Collection)">retainAll</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#setIteratorBlockSize(int)">setIteratorBlockSize</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#size()">size</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#storedIterator()">storedIterator</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#storedIterator(boolean)">storedIterator</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#toArray()">toArray</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#toArray(T[])">toArray</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#toList()">toList</A>, <A HREF="../../../com/sleepycat/collections/StoredCollection.html#toString()">toString</A></CODE></TD> |
| 352 |
</TR> |
| 353 |
</TABLE> |
| 354 |
<A NAME="methods_inherited_from_class_com.sleepycat.collections.StoredContainer"><!-- --></A> |
| 355 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 356 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 357 |
<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> |
| 358 |
</TR> |
| 359 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 360 |
<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> |
| 361 |
</TR> |
| 362 |
</TABLE> |
| 363 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 364 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 365 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 366 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| 367 |
</TR> |
| 368 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 369 |
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| 370 |
</TR> |
| 371 |
</TABLE> |
| 372 |
<A NAME="methods_inherited_from_class_java.util.List"><!-- --></A> |
| 373 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 374 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 375 |
<TH ALIGN="left"><B>Methods inherited from interface java.util.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></B></TH> |
| 376 |
</TR> |
| 377 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 378 |
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util">addAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#clear()" title="class or interface in java.util">clear</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util">containsAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#iterator()" title="class or interface in java.util">iterator</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util">removeAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util">retainAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#size()" title="class or interface in java.util">size</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#toArray()" title="class or interface in java.util">toArray</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#toArray(T[])" title="class or interface in java.util">toArray</A></CODE></TD> |
| 379 |
</TR> |
| 380 |
</TABLE> |
| 381 |
|
| 382 |
<P> |
| 383 |
|
| 384 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 385 |
|
| 386 |
<A NAME="constructor_detail"><!-- --></A> |
| 387 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 388 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 389 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 390 |
<B>Constructor Detail</B></FONT></TH> |
| 391 |
</TR> |
| 392 |
</TABLE> |
| 393 |
|
| 394 |
<A NAME="StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, boolean)"><!-- --></A><H3> |
| 395 |
StoredList</H3> |
| 396 |
<PRE> |
| 397 |
public <B>StoredList</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 398 |
<A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueBinding, |
| 399 |
boolean writeAllowed)</PRE> |
| 400 |
<DL> |
| 401 |
<DD>Creates a list view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. |
| 402 |
<P> |
| 403 |
<DL> |
| 404 |
<DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value |
| 405 |
buffers and value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false |
| 406 |
to create a read-only collection. |
| 407 |
<DT><B>Throws:</B> |
| 408 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently |
| 409 |
defined or a parameter is invalid. |
| 410 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 411 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 412 |
</DL> |
| 413 |
<HR> |
| 414 |
|
| 415 |
<A NAME="StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntityBinding, boolean)"><!-- --></A><H3> |
| 416 |
StoredList</H3> |
| 417 |
<PRE> |
| 418 |
public <B>StoredList</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 419 |
<A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueEntityBinding, |
| 420 |
boolean writeAllowed)</PRE> |
| 421 |
<DL> |
| 422 |
<DD>Creates a list entity view of a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A>. |
| 423 |
<P> |
| 424 |
<DL> |
| 425 |
<DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between |
| 426 |
key/value buffers and entity value objects.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false |
| 427 |
to create a read-only collection. |
| 428 |
<DT><B>Throws:</B> |
| 429 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently |
| 430 |
defined or a parameter is invalid. |
| 431 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 432 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 433 |
</DL> |
| 434 |
<HR> |
| 435 |
|
| 436 |
<A NAME="StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntryBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3> |
| 437 |
StoredList</H3> |
| 438 |
<PRE> |
| 439 |
public <B>StoredList</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 440 |
<A HREF="../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueBinding, |
| 441 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</PRE> |
| 442 |
<DL> |
| 443 |
<DD>Creates a list 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 list. |
| 444 |
<P> |
| 445 |
<DL> |
| 446 |
<DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>valueBinding</CODE> - is the binding used to translate between value |
| 447 |
buffers and value objects.<DD><CODE>keyAssigner</CODE> - is used by the <A HREF="../../../com/sleepycat/collections/StoredList.html#add(int, E)"><CODE>add(int, E)</CODE></A> and <A HREF="../../../com/sleepycat/collections/StoredList.html#append(E)"><CODE>append(E)</CODE></A> |
| 448 |
methods to assign primary keys. |
| 449 |
<DT><B>Throws:</B> |
| 450 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently |
| 451 |
defined or a parameter is invalid. |
| 452 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 453 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 454 |
</DL> |
| 455 |
<HR> |
| 456 |
|
| 457 |
<A NAME="StoredList(com.sleepycat.db.Database, com.sleepycat.bind.EntityBinding, com.sleepycat.collections.PrimaryKeyAssigner)"><!-- --></A><H3> |
| 458 |
StoredList</H3> |
| 459 |
<PRE> |
| 460 |
public <B>StoredList</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, |
| 461 |
<A HREF="../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> valueEntityBinding, |
| 462 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections">PrimaryKeyAssigner</A> keyAssigner)</PRE> |
| 463 |
<DL> |
| 464 |
<DD>Creates a list 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 list. |
| 465 |
<P> |
| 466 |
<DL> |
| 467 |
<DT><B>Parameters:</B><DD><CODE>database</CODE> - is the Database underlying the new collection.<DD><CODE>valueEntityBinding</CODE> - is the binding used to translate between |
| 468 |
key/value buffers and entity value objects.<DD><CODE>keyAssigner</CODE> - is used by the <A HREF="../../../com/sleepycat/collections/StoredList.html#add(int, E)"><CODE>add(int, E)</CODE></A> and <A HREF="../../../com/sleepycat/collections/StoredList.html#append(E)"><CODE>append(E)</CODE></A> |
| 469 |
methods to assign primary keys. |
| 470 |
<DT><B>Throws:</B> |
| 471 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if formats are not consistently |
| 472 |
defined or a parameter is invalid. |
| 473 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 474 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 475 |
</DL> |
| 476 |
|
| 477 |
<!-- ============ METHOD DETAIL ========== --> |
| 478 |
|
| 479 |
<A NAME="method_detail"><!-- --></A> |
| 480 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 481 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 482 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 483 |
<B>Method Detail</B></FONT></TH> |
| 484 |
</TR> |
| 485 |
</TABLE> |
| 486 |
|
| 487 |
<A NAME="add(int,java.lang.Object)"><!-- --></A><A NAME="add(int, E)"><!-- --></A><H3> |
| 488 |
add</H3> |
| 489 |
<PRE> |
| 490 |
public void <B>add</B>(int index, |
| 491 |
<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</PRE> |
| 492 |
<DL> |
| 493 |
<DD>Inserts the specified element at the specified position in this list |
| 494 |
(optional operation). |
| 495 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#add(int, E)" title="class or interface in java.util"><CODE>List.add(int, Object)</CODE></A> interface. |
| 496 |
<P> |
| 497 |
<DD><DL> |
| 498 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#add(int, E)" title="class or interface in java.util">add</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 499 |
</DD> |
| 500 |
<DD><DL> |
| 501 |
|
| 502 |
<DT><B>Throws:</B> |
| 503 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is a sublist, or |
| 504 |
if the collection is indexed, or if the collection is read-only, or if |
| 505 |
the RECNO-RENUMBER access method was not used. |
| 506 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 507 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 508 |
</DD> |
| 509 |
</DL> |
| 510 |
<HR> |
| 511 |
|
| 512 |
<A NAME="add(java.lang.Object)"><!-- --></A><A NAME="add(E)"><!-- --></A><H3> |
| 513 |
add</H3> |
| 514 |
<PRE> |
| 515 |
public boolean <B>add</B>(<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</PRE> |
| 516 |
<DL> |
| 517 |
<DD>Appends the specified element to the end of this list (optional |
| 518 |
operation). |
| 519 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#add(E)" title="class or interface in java.util"><CODE>List.add(Object)</CODE></A> interface. |
| 520 |
<P> |
| 521 |
<DD><DL> |
| 522 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#add(E)" title="class or interface in java.util">add</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#add(E)" title="class or interface in java.util">add</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 523 |
</DD> |
| 524 |
<DD><DL> |
| 525 |
|
| 526 |
<DT><B>Throws:</B> |
| 527 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is a sublist, or |
| 528 |
if the collection is indexed, or if the collection is read-only, or if |
| 529 |
the RECNO-RENUMBER access method was not used. |
| 530 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 531 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 532 |
</DD> |
| 533 |
</DL> |
| 534 |
<HR> |
| 535 |
|
| 536 |
<A NAME="append(java.lang.Object)"><!-- --></A><A NAME="append(E)"><!-- --></A><H3> |
| 537 |
append</H3> |
| 538 |
<PRE> |
| 539 |
public int <B>append</B>(<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</PRE> |
| 540 |
<DL> |
| 541 |
<DD>Appends a given value returning the newly assigned index. |
| 542 |
If a <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A> is associated |
| 543 |
with Store for this list, it will be used to assigned the returned |
| 544 |
index. Otherwise the Store must be a QUEUE or RECNO database and the |
| 545 |
next available record number is assigned as the index. This method does |
| 546 |
not exist in the standard <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><CODE>List</CODE></A> interface. |
| 547 |
<P> |
| 548 |
<DD><DL> |
| 549 |
</DL> |
| 550 |
</DD> |
| 551 |
<DD><DL> |
| 552 |
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the value to be appended. |
| 553 |
<DT><B>Returns:</B><DD>the assigned index. |
| 554 |
<DT><B>Throws:</B> |
| 555 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is indexed, or |
| 556 |
if the collection is read-only, or if the Store has no <A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><CODE>PrimaryKeyAssigner</CODE></A> and is not a QUEUE or |
| 557 |
RECNO database. |
| 558 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 559 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 560 |
</DD> |
| 561 |
</DL> |
| 562 |
<HR> |
| 563 |
|
| 564 |
<A NAME="addAll(int, java.util.Collection)"><!-- --></A><H3> |
| 565 |
addAll</H3> |
| 566 |
<PRE> |
| 567 |
public boolean <B>addAll</B>(int index, |
| 568 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><? extends <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> coll)</PRE> |
| 569 |
<DL> |
| 570 |
<DD>Inserts all of the elements in the specified collection into this list |
| 571 |
at the specified position (optional operation). |
| 572 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#addAll(int, java.util.Collection)" title="class or interface in java.util"><CODE>List.addAll(int, Collection)</CODE></A> |
| 573 |
interface. |
| 574 |
<P> |
| 575 |
<DD><DL> |
| 576 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#addAll(int, java.util.Collection)" title="class or interface in java.util">addAll</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 577 |
</DD> |
| 578 |
<DD><DL> |
| 579 |
|
| 580 |
<DT><B>Throws:</B> |
| 581 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is a sublist, or |
| 582 |
if the collection is indexed, or if the collection is read-only, or if |
| 583 |
the RECNO-RENUMBER access method was not used. |
| 584 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 585 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 586 |
</DD> |
| 587 |
</DL> |
| 588 |
<HR> |
| 589 |
|
| 590 |
<A NAME="contains(java.lang.Object)"><!-- --></A><H3> |
| 591 |
contains</H3> |
| 592 |
<PRE> |
| 593 |
public boolean <B>contains</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> |
| 594 |
<DL> |
| 595 |
<DD>Returns true if this list contains the specified element. |
| 596 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util"><CODE>List.contains(java.lang.Object)</CODE></A> interface. |
| 597 |
<P> |
| 598 |
<DD><DL> |
| 599 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util">contains</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util">contains</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 600 |
</DD> |
| 601 |
<DD><DL> |
| 602 |
|
| 603 |
<DT><B>Throws:</B> |
| 604 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 605 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 606 |
</DD> |
| 607 |
</DL> |
| 608 |
<HR> |
| 609 |
|
| 610 |
<A NAME="get(int)"><!-- --></A><H3> |
| 611 |
get</H3> |
| 612 |
<PRE> |
| 613 |
public <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> <B>get</B>(int index)</PRE> |
| 614 |
<DL> |
| 615 |
<DD>Returns the element at the specified position in this list. |
| 616 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#get(int)" title="class or interface in java.util"><CODE>List.get(int)</CODE></A> interface. |
| 617 |
<P> |
| 618 |
<DD><DL> |
| 619 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#get(int)" title="class or interface in java.util">get</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 620 |
</DD> |
| 621 |
<DD><DL> |
| 622 |
|
| 623 |
<DT><B>Throws:</B> |
| 624 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 625 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 626 |
</DD> |
| 627 |
</DL> |
| 628 |
<HR> |
| 629 |
|
| 630 |
<A NAME="indexOf(java.lang.Object)"><!-- --></A><H3> |
| 631 |
indexOf</H3> |
| 632 |
<PRE> |
| 633 |
public int <B>indexOf</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> |
| 634 |
<DL> |
| 635 |
<DD>Returns the index in this list of the first occurrence of the specified |
| 636 |
element, or -1 if this list does not contain this element. |
| 637 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#indexOf(java.lang.Object)" title="class or interface in java.util"><CODE>List.indexOf(java.lang.Object)</CODE></A> interface. |
| 638 |
<P> |
| 639 |
<DD><DL> |
| 640 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#indexOf(java.lang.Object)" title="class or interface in java.util">indexOf</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 641 |
</DD> |
| 642 |
<DD><DL> |
| 643 |
|
| 644 |
<DT><B>Throws:</B> |
| 645 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 646 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 647 |
</DD> |
| 648 |
</DL> |
| 649 |
<HR> |
| 650 |
|
| 651 |
<A NAME="lastIndexOf(java.lang.Object)"><!-- --></A><H3> |
| 652 |
lastIndexOf</H3> |
| 653 |
<PRE> |
| 654 |
public int <B>lastIndexOf</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> |
| 655 |
<DL> |
| 656 |
<DD>Returns the index in this list of the last occurrence of the specified |
| 657 |
element, or -1 if this list does not contain this element. |
| 658 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#lastIndexOf(java.lang.Object)" title="class or interface in java.util"><CODE>List.lastIndexOf(java.lang.Object)</CODE></A> interface. |
| 659 |
<P> |
| 660 |
<DD><DL> |
| 661 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#lastIndexOf(java.lang.Object)" title="class or interface in java.util">lastIndexOf</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 662 |
</DD> |
| 663 |
<DD><DL> |
| 664 |
|
| 665 |
<DT><B>Throws:</B> |
| 666 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 667 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 668 |
</DD> |
| 669 |
</DL> |
| 670 |
<HR> |
| 671 |
|
| 672 |
<A NAME="listIterator()"><!-- --></A><H3> |
| 673 |
listIterator</H3> |
| 674 |
<PRE> |
| 675 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> <B>listIterator</B>()</PRE> |
| 676 |
<DL> |
| 677 |
<DD>Returns a list iterator of the elements in this list (in proper |
| 678 |
sequence). |
| 679 |
The iterator will be read-only if the collection is read-only. |
| 680 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#listIterator()" title="class or interface in java.util"><CODE>List.listIterator()</CODE></A> interface. |
| 681 |
|
| 682 |
<p>For information on cursor stability and iterator block size, see |
| 683 |
<A HREF="../../../com/sleepycat/collections/StoredCollection.html#iterator()"><CODE>StoredCollection.iterator()</CODE></A>.</p> |
| 684 |
<P> |
| 685 |
<DD><DL> |
| 686 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#listIterator()" title="class or interface in java.util">listIterator</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 687 |
</DD> |
| 688 |
<DD><DL> |
| 689 |
|
| 690 |
<DT><B>Returns:</B><DD>a <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util"><CODE>ListIterator</CODE></A> for this collection. |
| 691 |
<DT><B>Throws:</B> |
| 692 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 693 |
including a <code>DatabaseException</code> on BDB (C Edition).<DT><B>See Also:</B><DD><A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()"><CODE>StoredContainer.isWriteAllowed()</CODE></A></DL> |
| 694 |
</DD> |
| 695 |
</DL> |
| 696 |
<HR> |
| 697 |
|
| 698 |
<A NAME="listIterator(int)"><!-- --></A><H3> |
| 699 |
listIterator</H3> |
| 700 |
<PRE> |
| 701 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> <B>listIterator</B>(int index)</PRE> |
| 702 |
<DL> |
| 703 |
<DD>Returns a list iterator of the elements in this list (in proper |
| 704 |
sequence), starting at the specified position in this list. |
| 705 |
The iterator will be read-only if the collection is read-only. |
| 706 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#listIterator(int)" title="class or interface in java.util"><CODE>List.listIterator(int)</CODE></A> interface. |
| 707 |
|
| 708 |
<p>For information on cursor stability and iterator block size, see |
| 709 |
<A HREF="../../../com/sleepycat/collections/StoredCollection.html#iterator()"><CODE>StoredCollection.iterator()</CODE></A>.</p> |
| 710 |
<P> |
| 711 |
<DD><DL> |
| 712 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#listIterator(int)" title="class or interface in java.util">listIterator</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 713 |
</DD> |
| 714 |
<DD><DL> |
| 715 |
|
| 716 |
<DT><B>Returns:</B><DD>a <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util"><CODE>ListIterator</CODE></A> for this collection. |
| 717 |
<DT><B>Throws:</B> |
| 718 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 719 |
including a <code>DatabaseException</code> on BDB (C Edition).<DT><B>See Also:</B><DD><A HREF="../../../com/sleepycat/collections/StoredContainer.html#isWriteAllowed()"><CODE>StoredContainer.isWriteAllowed()</CODE></A></DL> |
| 720 |
</DD> |
| 721 |
</DL> |
| 722 |
<HR> |
| 723 |
|
| 724 |
<A NAME="remove(int)"><!-- --></A><H3> |
| 725 |
remove</H3> |
| 726 |
<PRE> |
| 727 |
public <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> <B>remove</B>(int index)</PRE> |
| 728 |
<DL> |
| 729 |
<DD>Removes the element at the specified position in this list (optional |
| 730 |
operation). |
| 731 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#remove(int)" title="class or interface in java.util"><CODE>List.remove(int)</CODE></A> interface. |
| 732 |
<P> |
| 733 |
<DD><DL> |
| 734 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#remove(int)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 735 |
</DD> |
| 736 |
<DD><DL> |
| 737 |
|
| 738 |
<DT><B>Throws:</B> |
| 739 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is a sublist, or |
| 740 |
if the collection is read-only. |
| 741 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 742 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 743 |
</DD> |
| 744 |
</DL> |
| 745 |
<HR> |
| 746 |
|
| 747 |
<A NAME="remove(java.lang.Object)"><!-- --></A><H3> |
| 748 |
remove</H3> |
| 749 |
<PRE> |
| 750 |
public boolean <B>remove</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> |
| 751 |
<DL> |
| 752 |
<DD>Removes the first occurrence in this list of the specified element |
| 753 |
(optional operation). |
| 754 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util"><CODE>List.remove(Object)</CODE></A> interface. |
| 755 |
<P> |
| 756 |
<DD><DL> |
| 757 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 758 |
</DD> |
| 759 |
<DD><DL> |
| 760 |
|
| 761 |
<DT><B>Throws:</B> |
| 762 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is a sublist, or |
| 763 |
if the collection is read-only. |
| 764 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 765 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 766 |
</DD> |
| 767 |
</DL> |
| 768 |
<HR> |
| 769 |
|
| 770 |
<A NAME="set(int,java.lang.Object)"><!-- --></A><A NAME="set(int, E)"><!-- --></A><H3> |
| 771 |
set</H3> |
| 772 |
<PRE> |
| 773 |
public <A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> <B>set</B>(int index, |
| 774 |
<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A> value)</PRE> |
| 775 |
<DL> |
| 776 |
<DD>Replaces the element at the specified position in this list with the |
| 777 |
specified element (optional operation). |
| 778 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#set(int, E)" title="class or interface in java.util"><CODE>List.set(int, E)</CODE></A> interface. |
| 779 |
<P> |
| 780 |
<DD><DL> |
| 781 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#set(int, E)" title="class or interface in java.util">set</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 782 |
</DD> |
| 783 |
<DD><DL> |
| 784 |
|
| 785 |
<DT><B>Throws:</B> |
| 786 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the collection is indexed, or |
| 787 |
if the collection is read-only. |
| 788 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an entity value binding is used and |
| 789 |
the primary key of the value given is different than the existing stored |
| 790 |
primary key. |
| 791 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 792 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 793 |
</DD> |
| 794 |
</DL> |
| 795 |
<HR> |
| 796 |
|
| 797 |
<A NAME="subList(int, int)"><!-- --></A><H3> |
| 798 |
subList</H3> |
| 799 |
<PRE> |
| 800 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>> <B>subList</B>(int fromIndex, |
| 801 |
int toIndex)</PRE> |
| 802 |
<DL> |
| 803 |
<DD>Returns a view of the portion of this list between the specified |
| 804 |
fromIndex, inclusive, and toIndex, exclusive. |
| 805 |
Note that add() and remove() may not be called for the returned sublist. |
| 806 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#subList(int, int)" title="class or interface in java.util"><CODE>List.subList(int, int)</CODE></A> interface. |
| 807 |
<P> |
| 808 |
<DD><DL> |
| 809 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#subList(int, int)" title="class or interface in java.util">subList</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 810 |
</DD> |
| 811 |
<DD><DL> |
| 812 |
|
| 813 |
<DT><B>Throws:</B> |
| 814 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 815 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 816 |
</DD> |
| 817 |
</DL> |
| 818 |
<HR> |
| 819 |
|
| 820 |
<A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
| 821 |
equals</H3> |
| 822 |
<PRE> |
| 823 |
public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE> |
| 824 |
<DL> |
| 825 |
<DD>Compares the specified object with this list for equality. |
| 826 |
A value comparison is performed by this method and the stored values |
| 827 |
are compared rather than calling the equals() method of each element. |
| 828 |
This method conforms to the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util"><CODE>List.equals(java.lang.Object)</CODE></A> interface. |
| 829 |
<P> |
| 830 |
<DD><DL> |
| 831 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">StoredCollection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 832 |
</DD> |
| 833 |
<DD><DL> |
| 834 |
|
| 835 |
<DT><B>Throws:</B> |
| 836 |
<DD><CODE><A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></CODE> - if a checked exception is thrown, |
| 837 |
including a <code>DatabaseException</code> on BDB (C Edition).</DL> |
| 838 |
</DD> |
| 839 |
</DL> |
| 840 |
<HR> |
| 841 |
|
| 842 |
<A NAME="hashCode()"><!-- --></A><H3> |
| 843 |
hashCode</H3> |
| 844 |
<PRE> |
| 845 |
public int <B>hashCode</B>()</PRE> |
| 846 |
<DL> |
| 847 |
<DD><DL> |
| 848 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections">StoredCollection</A><<A HREF="../../../com/sleepycat/collections/StoredList.html" title="type parameter in StoredList">E</A>></CODE></DL> |
| 849 |
</DD> |
| 850 |
<DD><DL> |
| 851 |
</DL> |
| 852 |
</DD> |
| 853 |
</DL> |
| 854 |
<!-- ========= END OF CLASS DATA ========= --> |
| 855 |
<HR> |
| 856 |
|
| 857 |
|
| 858 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 859 |
<A NAME="navbar_bottom"><!-- --></A> |
| 860 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 861 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 862 |
<TR> |
| 863 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 864 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 865 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 866 |
<TR ALIGN="center" VALIGN="top"> |
| 867 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 868 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 869 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 870 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoredList.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 871 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 872 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 873 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 874 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 875 |
</TR> |
| 876 |
</TABLE> |
| 877 |
</TD> |
| 878 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 879 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 880 |
</TD> |
| 881 |
</TR> |
| 882 |
|
| 883 |
<TR> |
| 884 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 885 |
<A HREF="../../../com/sleepycat/collections/StoredKeySet.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> |
| 886 |
<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD> |
| 887 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 888 |
<A HREF="../../../index.html?com/sleepycat/collections/StoredList.html" target="_top"><B>FRAMES</B></A> |
| 889 |
<A HREF="StoredList.html" target="_top"><B>NO FRAMES</B></A> |
| 890 |
<SCRIPT type="text/javascript"> |
| 891 |
<!-- |
| 892 |
if(window==top) { |
| 893 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 894 |
} |
| 895 |
//--> |
| 896 |
</SCRIPT> |
| 897 |
<NOSCRIPT> |
| 898 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 899 |
</NOSCRIPT> |
| 900 |
|
| 901 |
|
| 902 |
</FONT></TD> |
| 903 |
</TR> |
| 904 |
<TR> |
| 905 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 906 |
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sleepycat.collections.StoredCollection">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 907 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 908 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 909 |
</TR> |
| 910 |
</TABLE> |
| 911 |
<A NAME="skip-navbar_bottom"></A> |
| 912 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 913 |
|
| 914 |
<HR> |
| 915 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 916 |
</BODY> |
| 917 |
</HTML> |