a whole bunch of stuff
[ephemerata.git] / KezvhLib / lib / org.apache.commons.collections / apidocs / org / apache / commons / collections / list / CursorableLinkedList.SubCursor.html
blobd9881b9ab7983190fd98e4ae46b8f86a1876eb95
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.5.0_07) on Fri Apr 11 15:39:20 BST 2008 -->
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7 <TITLE>
8 CursorableLinkedList.SubCursor (Commons Collections 3.2.1 API)
9 </TITLE>
11 <META NAME="keywords" CONTENT="org.apache.commons.collections.list.CursorableLinkedList.SubCursor class">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 parent.document.title="CursorableLinkedList.SubCursor (Commons Collections 3.2.1 API)";
20 </SCRIPT>
21 <NOSCRIPT>
22 </NOSCRIPT>
24 </HEAD>
26 <BODY BGCOLOR="white" onload="windowTitle();">
29 <!-- ========= START OF TOP NAVBAR ======= -->
30 <A NAME="navbar_top"><!-- --></A>
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33 <TR>
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
35 <A NAME="navbar_top_firstrow"><!-- --></A>
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
37 <TR ALIGN="center" VALIGN="top">
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CursorableLinkedList.SubCursor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46 </TR>
47 </TABLE>
48 </TD>
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50 </EM>
51 </TD>
52 </TR>
54 <TR>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 &nbsp;<A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list"><B>PREV CLASS</B></A>&nbsp;
57 &nbsp;<A HREF="../../../../../org/apache/commons/collections/list/FixedSizeList.html" title="class in org.apache.commons.collections.list"><B>NEXT CLASS</B></A></FONT></TD>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 <A HREF="../../../../../index.html?org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html" target="_top"><B>FRAMES</B></A> &nbsp;
60 &nbsp;<A HREF="CursorableLinkedList.SubCursor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
61 &nbsp;<SCRIPT type="text/javascript">
62 <!--
63 if(window==top) {
64 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66 //-->
67 </SCRIPT>
68 <NOSCRIPT>
69 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
70 </NOSCRIPT>
73 </FONT></TD>
74 </TR>
75 <TR>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80 </TR>
81 </TABLE>
82 <A NAME="skip-navbar_top"></A>
83 <!-- ========= END OF TOP NAVBAR ========= -->
85 <HR>
86 <!-- ======== START OF CLASS DATA ======== -->
87 <H2>
88 <FONT SIZE="-1">
89 org.apache.commons.collections.list</FONT>
90 <BR>
91 Class CursorableLinkedList.SubCursor</H2>
92 <PRE>
93 java.lang.Object
94 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html" title="class in org.apache.commons.collections.list">org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator</A>
95 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">org.apache.commons.collections.list.CursorableLinkedList.Cursor</A>
96 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.collections.list.CursorableLinkedList.SubCursor</B>
97 </PRE>
98 <DL>
99 <DT><B>All Implemented Interfaces:</B> <DD>java.util.Iterator, java.util.ListIterator, <A HREF="../../../../../org/apache/commons/collections/OrderedIterator.html" title="interface in org.apache.commons.collections">OrderedIterator</A></DD>
100 </DL>
101 <DL>
102 <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.html" title="class in org.apache.commons.collections.list">CursorableLinkedList</A></DD>
103 </DL>
104 <HR>
105 <DL>
106 <DT><PRE>protected static class <B>CursorableLinkedList.SubCursor</B><DT>extends <A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">CursorableLinkedList.Cursor</A></DL>
107 </PRE>
110 A cursor for the sublist based on LinkedSubListIterator.
114 <DL>
115 <DT><B>Since:</B></DT>
116 <DD>Commons Collections 3.2</DD>
117 </DL>
118 <HR>
121 <!-- =========== FIELD SUMMARY =========== -->
123 <A NAME="field_summary"><!-- --></A>
124 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127 <B>Field Summary</B></FONT></TH>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>protected &nbsp;<A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedSubList.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedSubList</A></CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#sub">sub</A></B></CODE>
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The parent list</TD>
136 </TR>
137 </TABLE>
138 &nbsp;<A NAME="fields_inherited_from_class_org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
141 <TH ALIGN="left"><B>Fields inherited from class org.apache.commons.collections.list.<A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedListIterator</A></B></TH>
142 </TR>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD><CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#current">current</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#expectedModCount">expectedModCount</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#next">next</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#nextIndex">nextIndex</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#parent">parent</A></CODE></TD>
145 </TR>
146 </TABLE>
147 &nbsp;
148 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
150 <A NAME="constructor_summary"><!-- --></A>
151 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
153 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
154 <B>Constructor Summary</B></FONT></TH>
155 </TR>
156 <TR BGCOLOR="white" CLASS="TableRowColor">
157 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158 <CODE>protected </CODE></FONT></TD>
159 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#CursorableLinkedList.SubCursor(org.apache.commons.collections.list.AbstractLinkedList.LinkedSubList, int)">CursorableLinkedList.SubCursor</A></B>(<A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedSubList.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedSubList</A>&nbsp;sub,
160 int&nbsp;index)</CODE>
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new cursor.</TD>
164 </TR>
165 </TABLE>
166 &nbsp;
167 <!-- ========== METHOD SUMMARY =========== -->
169 <A NAME="method_summary"><!-- --></A>
170 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
171 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
172 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
173 <B>Method Summary</B></FONT></TH>
174 </TR>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177 <CODE>&nbsp;void</CODE></FONT></TD>
178 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#add(java.lang.Object)">add</A></B>(java.lang.Object&nbsp;obj)</CODE>
180 <BR>
181 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an object to the list.</TD>
182 </TR>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>&nbsp;boolean</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#hasNext()">hasNext</A></B>()</CODE>
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
190 </TR>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>&nbsp;boolean</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#hasPrevious()">hasPrevious</A></B>()</CODE>
196 <BR>
197 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if there is a previous element that can be iterated to.</TD>
198 </TR>
199 <TR BGCOLOR="white" CLASS="TableRowColor">
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201 <CODE>&nbsp;int</CODE></FONT></TD>
202 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#nextIndex()">nextIndex</A></B>()</CODE>
204 <BR>
205 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the index of the next element to be returned.</TD>
206 </TR>
207 <TR BGCOLOR="white" CLASS="TableRowColor">
208 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209 <CODE>&nbsp;void</CODE></FONT></TD>
210 <TD><CODE><B><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html#remove()">remove</A></B>()</CODE>
212 <BR>
213 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the item last returned by this iterator.</TD>
214 </TR>
215 </TABLE>
216 &nbsp;<A NAME="methods_inherited_from_class_org.apache.commons.collections.list.CursorableLinkedList.Cursor"><!-- --></A>
217 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
219 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.collections.list.<A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">CursorableLinkedList.Cursor</A></B></TH>
220 </TR>
221 <TR BGCOLOR="white" CLASS="TableRowColor">
222 <TD><CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#checkModCount()">checkModCount</A>, <A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#close()">close</A>, <A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#nodeChanged(org.apache.commons.collections.list.AbstractLinkedList.Node)">nodeChanged</A>, <A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#nodeInserted(org.apache.commons.collections.list.AbstractLinkedList.Node)">nodeInserted</A>, <A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#nodeRemoved(org.apache.commons.collections.list.AbstractLinkedList.Node)">nodeRemoved</A></CODE></TD>
223 </TR>
224 </TABLE>
225 &nbsp;<A NAME="methods_inherited_from_class_org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator"><!-- --></A>
226 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
227 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
228 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.collections.list.<A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedListIterator</A></B></TH>
229 </TR>
230 <TR BGCOLOR="white" CLASS="TableRowColor">
231 <TD><CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#getLastNodeReturned()">getLastNodeReturned</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#next()">next</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#previous()">previous</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#previousIndex()">previousIndex</A>, <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#set(java.lang.Object)">set</A></CODE></TD>
232 </TR>
233 </TABLE>
234 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
235 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
237 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
238 </TR>
239 <TR BGCOLOR="white" CLASS="TableRowColor">
240 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
241 </TR>
242 </TABLE>
243 &nbsp;
246 <!-- ============ FIELD DETAIL =========== -->
248 <A NAME="field_detail"><!-- --></A>
249 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
250 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
251 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
252 <B>Field Detail</B></FONT></TH>
253 </TR>
254 </TABLE>
256 <A NAME="sub"><!-- --></A><H3>
257 sub</H3>
258 <PRE>
259 protected final <A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedSubList.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedSubList</A> <B>sub</B></PRE>
260 <DL>
261 <DD>The parent list
263 <DL>
264 </DL>
265 </DL>
267 <!-- ========= CONSTRUCTOR DETAIL ======== -->
269 <A NAME="constructor_detail"><!-- --></A>
270 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
271 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
272 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
273 <B>Constructor Detail</B></FONT></TH>
274 </TR>
275 </TABLE>
277 <A NAME="CursorableLinkedList.SubCursor(org.apache.commons.collections.list.AbstractLinkedList.LinkedSubList, int)"><!-- --></A><H3>
278 CursorableLinkedList.SubCursor</H3>
279 <PRE>
280 protected <B>CursorableLinkedList.SubCursor</B>(<A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedSubList.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedSubList</A>&nbsp;sub,
281 int&nbsp;index)</PRE>
282 <DL>
283 <DD>Constructs a new cursor.
285 <DL>
286 <DT><B>Parameters:</B><DD><CODE>index</CODE> - the index to start from</DL>
287 </DL>
289 <!-- ============ METHOD DETAIL ========== -->
291 <A NAME="method_detail"><!-- --></A>
292 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
293 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
294 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
295 <B>Method Detail</B></FONT></TH>
296 </TR>
297 </TABLE>
299 <A NAME="hasNext()"><!-- --></A><H3>
300 hasNext</H3>
301 <PRE>
302 public boolean <B>hasNext</B>()</PRE>
303 <DL>
304 <DD><DL>
305 <DT><B>Specified by:</B><DD><CODE>hasNext</CODE> in interface <CODE>java.util.Iterator</CODE><DT><B>Specified by:</B><DD><CODE>hasNext</CODE> in interface <CODE>java.util.ListIterator</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#hasNext()">hasNext</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedListIterator</A></CODE></DL>
306 </DD>
307 <DD><DL>
308 </DL>
309 </DD>
310 </DL>
311 <HR>
313 <A NAME="hasPrevious()"><!-- --></A><H3>
314 hasPrevious</H3>
315 <PRE>
316 public boolean <B>hasPrevious</B>()</PRE>
317 <DL>
318 <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/commons/collections/OrderedIterator.html#hasPrevious()">OrderedIterator</A></CODE></B></DD>
319 <DD>Checks to see if there is a previous element that can be iterated to.
321 <DD><DL>
322 <DT><B>Specified by:</B><DD><CODE>hasPrevious</CODE> in interface <CODE>java.util.ListIterator</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/OrderedIterator.html#hasPrevious()">hasPrevious</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/collections/OrderedIterator.html" title="interface in org.apache.commons.collections">OrderedIterator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html#hasPrevious()">hasPrevious</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/collections/list/AbstractLinkedList.LinkedListIterator.html" title="class in org.apache.commons.collections.list">AbstractLinkedList.LinkedListIterator</A></CODE></DL>
323 </DD>
324 <DD><DL>
326 <DT><B>Returns:</B><DD><code>true</code> if the iterator has a previous element</DL>
327 </DD>
328 </DL>
329 <HR>
331 <A NAME="nextIndex()"><!-- --></A><H3>
332 nextIndex</H3>
333 <PRE>
334 public int <B>nextIndex</B>()</PRE>
335 <DL>
336 <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#nextIndex()">CursorableLinkedList.Cursor</A></CODE></B></DD>
337 <DD>Gets the index of the next element to be returned.
339 <DD><DL>
340 <DT><B>Specified by:</B><DD><CODE>nextIndex</CODE> in interface <CODE>java.util.ListIterator</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#nextIndex()">nextIndex</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">CursorableLinkedList.Cursor</A></CODE></DL>
341 </DD>
342 <DD><DL>
344 <DT><B>Returns:</B><DD>the next index</DL>
345 </DD>
346 </DL>
347 <HR>
349 <A NAME="add(java.lang.Object)"><!-- --></A><H3>
350 add</H3>
351 <PRE>
352 public void <B>add</B>(java.lang.Object&nbsp;obj)</PRE>
353 <DL>
354 <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#add(java.lang.Object)">CursorableLinkedList.Cursor</A></CODE></B></DD>
355 <DD>Adds an object to the list.
356 The object added here will be the new 'previous' in the iterator.
358 <DD><DL>
359 <DT><B>Specified by:</B><DD><CODE>add</CODE> in interface <CODE>java.util.ListIterator</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#add(java.lang.Object)">add</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">CursorableLinkedList.Cursor</A></CODE></DL>
360 </DD>
361 <DD><DL>
362 <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to add</DL>
363 </DD>
364 </DL>
365 <HR>
367 <A NAME="remove()"><!-- --></A><H3>
368 remove</H3>
369 <PRE>
370 public void <B>remove</B>()</PRE>
371 <DL>
372 <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#remove()">CursorableLinkedList.Cursor</A></CODE></B></DD>
373 <DD>Removes the item last returned by this iterator.
375 There may have been subsequent alterations to the list
376 since you obtained this item, however you can still remove it.
377 You can even remove it if the item is no longer in the main list.
378 However, you can't call this method on the same iterator more
379 than once without calling next() or previous().
381 <DD><DL>
382 <DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE>java.util.Iterator</CODE><DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE>java.util.ListIterator</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html#remove()">remove</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list">CursorableLinkedList.Cursor</A></CODE></DL>
383 </DD>
384 <DD><DL>
385 </DL>
386 </DD>
387 </DL>
388 <!-- ========= END OF CLASS DATA ========= -->
389 <HR>
392 <!-- ======= START OF BOTTOM NAVBAR ====== -->
393 <A NAME="navbar_bottom"><!-- --></A>
394 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
395 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
396 <TR>
397 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
398 <A NAME="navbar_bottom_firstrow"><!-- --></A>
399 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
400 <TR ALIGN="center" VALIGN="top">
401 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
402 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
403 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
404 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CursorableLinkedList.SubCursor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
405 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
406 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
407 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
408 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
409 </TR>
410 </TABLE>
411 </TD>
412 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
413 </EM>
414 </TD>
415 </TR>
417 <TR>
418 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
419 &nbsp;<A HREF="../../../../../org/apache/commons/collections/list/CursorableLinkedList.Cursor.html" title="class in org.apache.commons.collections.list"><B>PREV CLASS</B></A>&nbsp;
420 &nbsp;<A HREF="../../../../../org/apache/commons/collections/list/FixedSizeList.html" title="class in org.apache.commons.collections.list"><B>NEXT CLASS</B></A></FONT></TD>
421 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
422 <A HREF="../../../../../index.html?org/apache/commons/collections/list/CursorableLinkedList.SubCursor.html" target="_top"><B>FRAMES</B></A> &nbsp;
423 &nbsp;<A HREF="CursorableLinkedList.SubCursor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
424 &nbsp;<SCRIPT type="text/javascript">
425 <!--
426 if(window==top) {
427 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
429 //-->
430 </SCRIPT>
431 <NOSCRIPT>
432 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
433 </NOSCRIPT>
436 </FONT></TD>
437 </TR>
438 <TR>
439 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
440 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
441 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
442 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
443 </TR>
444 </TABLE>
445 <A NAME="skip-navbar_bottom"></A>
446 <!-- ======== END OF BOTTOM NAVBAR ======= -->
448 <HR>
449 Copyright © 2001-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
450 </BODY>
451 </HTML>