⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rowiterator.html

📁 Axion 是一个小型的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>

<A NAME="current()"><!-- --></A><H3>
current</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>current</B>()            throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></PRE>
<DL>
<DD>Returns the last <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> returned by  me (by <A HREF="../../org/axiondb/RowIterator.html#next()"><CODE>next()</CODE></A>, <A HREF="../../org/axiondb/RowIterator.html#previous()"><CODE>previous()</CODE></A>, <A HREF="../../org/axiondb/RowIterator.html#first()"><CODE>first()</CODE></A>, <A HREF="../../org/axiondb/RowIterator.html#last()"><CODE>last()</CODE></A>, etc.).<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when no <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> has yet been returned</DL>
</DD>
</DL>
<HR>

<A NAME="next()"><!-- --></A><H3>
next</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>next</B>()         throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Returns the next <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list, or throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html"><CODE>NoSuchElementException</CODE></A> if no next <code>Row</code> exists.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no next <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="previous()"><!-- --></A><H3>
previous</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>previous</B>()             throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                    <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Returns the previous <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list, or throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html"><CODE>NoSuchElementException</CODE></A> if no next <code>Row</code> exists.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no next <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="hasNext()"><!-- --></A><H3>
hasNext</H3>
<PRE>
public boolean <B>hasNext</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if I have more <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A>s when  traversing the list in the forward direction. (In other words,  returns <code>true</code> iff <A HREF="../../org/axiondb/RowIterator.html#next()"><CODE>next()</CODE></A> would return  a <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than throwing an exception.)</DL>
<HR>

<A NAME="hasPrevious()"><!-- --></A><H3>
hasPrevious</H3>
<PRE>
public boolean <B>hasPrevious</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if I have more <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A>s when  traversing the list in the reverse direction. (In other words,  returns <code>true</code> iff <A HREF="../../org/axiondb/RowIterator.html#previous()"><CODE>previous()</CODE></A> would return  a <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than throwing an exception.)</DL>
<HR>

<A NAME="hasCurrent()"><!-- --></A><H3>
hasCurrent</H3>
<PRE>
public boolean <B>hasCurrent</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if I have a current <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A>.  (In other words, returns <code>true</code> iff <A HREF="../../org/axiondb/RowIterator.html#current()"><CODE>current()</CODE></A> would return a <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than  throwing an exception.)</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public boolean <B>isEmpty</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if there are no rows to report with this iterator.</DL>
<HR>

<A NAME="first()"><!-- --></A><H3>
first</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>first</B>()          throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                 <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Returns the first <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list, positioning the cursor to just before the  first <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list.  (In other words,  after <code>first</code> is called both  <A HREF="../../org/axiondb/RowIterator.html#next()"><CODE>next()</CODE></A> and <A HREF="../../org/axiondb/RowIterator.html#current()"><CODE>current()</CODE></A>  will return the first row in the list.)<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no first <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="last()"><!-- --></A><H3>
last</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>last</B>()         throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Returns the last <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list, positioning the cursor to just after the  last <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list.  (In other words,  after <code>last</code> is called both  <A HREF="../../org/axiondb/RowIterator.html#previous()"><CODE>previous()</CODE></A> and <A HREF="../../org/axiondb/RowIterator.html#current()"><CODE>current()</CODE></A>  will return the last row in the list.)<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no last <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="peekNext()"><!-- --></A><H3>
peekNext</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>peekNext</B>()             throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                    <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Return the value that would be returned by a call to <A HREF="../../org/axiondb/RowIterator.html#next()"><CODE>next()</CODE></A>, if any, but don't update my position.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no next <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="peekPrevious()"><!-- --></A><H3>
peekPrevious</H3>
<PRE>
public <A HREF="../../org/axiondb/Row.html">Row</A> <B>peekPrevious</B>()                 throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A>,                        <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Return the value that would be returned by a call to <A HREF="../../org/axiondb/RowIterator.html#previous()"><CODE>previous()</CODE></A>, if any, but don't update my position.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when there is no previous <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A><DD><CODE><A HREF="../../org/axiondb/AxionException.html">AxionException</A></CODE> - when a problem occurs accessing the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>()           throws <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Re-initialize this <code>RowIterator</code> to its initial state (positioned just before the first <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> in the list).</DL>
<HR>

<A NAME="add(org.axiondb.Row)"><!-- --></A><H3>
add</H3>
<PRE>
public void <B>add</B>(<A HREF="../../org/axiondb/Row.html">Row</A>&nbsp;row)         throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html">UnsupportedOperationException</A>,                <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Add a <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> at the current position in my underlying collection, or  throw <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html"><CODE>UnsupportedOperationException</CODE></A>. (Optional operation.)</DL>
<HR>

<A NAME="set(org.axiondb.Row)"><!-- --></A><H3>
set</H3>
<PRE>
public void <B>set</B>(<A HREF="../../org/axiondb/Row.html">Row</A>&nbsp;row)         throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html">UnsupportedOperationException</A>,                <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Set the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> at the current position in my underlying collection, or  throw <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html"><CODE>UnsupportedOperationException</CODE></A>. (Optional operation.)</DL>
<HR>

<A NAME="remove()"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>()            throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html">UnsupportedOperationException</A>,                   <A HREF="../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Set the <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> at the current position in my underlying collection, or  throw <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/UnsupportedOperationException.html"><CODE>UnsupportedOperationException</CODE></A>. (Optional operation.)</DL>
<HR>

<A NAME="currentIndex()"><!-- --></A><H3>
currentIndex</H3>
<PRE>
public int <B>currentIndex</B>()                 throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></PRE>
<DL>
<DD>Returns the index of the <A HREF="../../org/axiondb/RowIterator.html#current()"><CODE>current()</CODE></A> row, if any.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/NoSuchElementException.html">NoSuchElementException</A></CODE> - when no <A HREF="../../org/axiondb/Row.html"><CODE>Row</CODE></A> has yet been returned</DL>
</DD>
</DL>
<HR>

<A NAME="nextIndex()"><!-- --></A><H3>
nextIndex</H3>
<PRE>
public int <B>nextIndex</B>()</PRE>
<DL>
<DD>Returns the index of the <A HREF="../../org/axiondb/RowIterator.html#next()"><CODE>next()</CODE></A> row, if any,  or the number of elements is the iterator if we've reached the end.</DL>
<HR>

<A NAME="previousIndex()"><!-- --></A><H3>
previousIndex</H3>
<PRE>
public int <B>previousIndex</B>()</PRE>
<DL>
<DD>Returns the index of the <A HREF="../../org/axiondb/RowIterator.html#previous()"><CODE>previous()</CODE></A> row, if any, or -1 if we're add the beginning of the list.</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RowIterator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../org/axiondb/RowDecoratorIterator.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../org/axiondb/RowSource.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="RowIterator.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
Copyright &copy; 2002-2003 Axion Development Team. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -