📄 abstractfilteringrowiterator.html
字号:
if any, but don't update my position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/axiondb/Row.html">Row</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#peekPrevious()">peekPrevious</A></B>()</CODE>
<BR>
Return the value that would be returned by a call to <A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#previous()"><CODE>previous()</CODE></A>, if any, but don't update my position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/axiondb/Row.html">Row</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#previous()">previous</A></B>()</CODE>
<BR>
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.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#previousIndex()">previousIndex</A></B>()</CODE>
<BR>
Returns the index of the <A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#previous()"><CODE>previous()</CODE></A> row, if any, or -1 if we're add the beginning of the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#remove()">remove</A></B>()</CODE>
<BR>
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>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#reset()">reset</A></B>()</CODE>
<BR>
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).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/axiondb/engine/rowiterators/AbstractFilteringRowIterator.html#set(org.axiondb.Row)">set</A></B>(<A HREF="../../../../org/axiondb/Row.html">Row</A> row)</CODE>
<BR>
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>.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.axiondb.engine.rowiterators.DelegatingRowIterator"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.axiondb.engine.rowiterators.<A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#getDelegate()">getDelegate</A>, <A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#isEmpty()">isEmpty</A>, <A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#setDelegate(org.axiondb.RowIterator)">setDelegate</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="AbstractFilteringRowIterator()"><!-- --></A><H3>
AbstractFilteringRowIterator</H3>
<PRE>
public <B>AbstractFilteringRowIterator</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="AbstractFilteringRowIterator(org.axiondb.RowIterator)"><!-- --></A><H3>
AbstractFilteringRowIterator</H3>
<PRE>
public <B>AbstractFilteringRowIterator</B>(<A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A> iterator)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="acceptable(int, org.axiondb.Row)"><!-- --></A><H3>
acceptable</H3>
<PRE>
protected abstract boolean <B>acceptable</B>(int rowindex, <A HREF="../../../../org/axiondb/Row.html">Row</A> row) throws <A HREF="../../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>My filtering method. Return <code>true</code> if the given <A HREF="../../../../org/axiondb/Row.html"><CODE>Row</CODE></A> should be included in the iteration, <code>false</code> otherwise.</DL>
<HR>
<A NAME="current()"><!-- --></A><H3>
current</H3>
<PRE>
public <A HREF="../../../../org/axiondb/Row.html">Row</A> <B>current</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<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>RowIterator.next()</CODE></A>, <A HREF="../../../../org/axiondb/RowIterator.html#previous()"><CODE>RowIterator.previous()</CODE></A>, <A HREF="../../../../org/axiondb/RowIterator.html#first()"><CODE>RowIterator.first()</CODE></A>, <A HREF="../../../../org/axiondb/RowIterator.html#last()"><CODE>RowIterator.last()</CODE></A>, etc.).<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#current()">current</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.axiondb.RowIterator</CODE></DD>
<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="currentIndex()"><!-- --></A><H3>
currentIndex</H3>
<PRE>
public int <B>currentIndex</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<DD>Returns the index of the <A HREF="../../../../org/axiondb/RowIterator.html#current()"><CODE>RowIterator.current()</CODE></A> row, if any.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#currentIndex()">currentIndex</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.axiondb.RowIterator</CODE></DD>
<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="hasCurrent()"><!-- --></A><H3>
hasCurrent</H3>
<PRE>
public boolean <B>hasCurrent</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<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>RowIterator.current()</CODE></A> would return a <A HREF="../../../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than throwing an exception.)<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#hasCurrent()">hasCurrent</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></DL>
</DD>
</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> row) throws <A HREF="../../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD>Not supported in this base implementation.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#add(org.axiondb.Row)">add</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="hasNext()"><!-- --></A><H3>
hasNext</H3>
<PRE>
public boolean <B>hasNext</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<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>RowIterator.next()</CODE></A> would return a <A HREF="../../../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than throwing an exception.)<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#hasNext()">hasNext</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="hasPrevious()"><!-- --></A><H3>
hasPrevious</H3>
<PRE>
public boolean <B>hasPrevious</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<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>RowIterator.previous()</CODE></A> would return a <A HREF="../../../../org/axiondb/Row.html"><CODE>Row</CODE></A> rather than throwing an exception.)<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html#hasPrevious()">hasPrevious</A></CODE> in class <CODE><A HREF="../../../../org/axiondb/engine/rowiterators/DelegatingRowIterator.html">DelegatingRowIterator</A></CODE></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="../../../../org/axiondb/AxionException.html">AxionException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/axiondb/RowIterator.html">RowIterator</A></CODE></B></DD>
<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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -