abstractresourcelist.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 961 行 · 第 1/4 页
HTML
961 行
</DL><HR><A NAME="listIterator(int)"><!-- --></A><H3>listIterator</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ListIterator.html" title="class or interface in java.util">ListIterator</A> <B>listIterator</B>(int index)</PRE><DL><DD>Returns a list iterator of the elements in this list from index on.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#listIterator(int)" title="class or interface in java.util">listIterator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - <DT><B>Returns:</B><DD>a list iterator from index *<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if the specified index is out of range<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/feature/collection/AbstractResourceList.html#modCount"><CODE>modCount</CODE></A></DL></DD></DL><HR><A NAME="openIterator(int)"><!-- --></A><H3>openIterator</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ListIterator.html" title="class or interface in java.util">ListIterator</A> <B>openIterator</B>(int index)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="openIterator()"><!-- --></A><H3>openIterator</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>openIterator</B>()</PRE><DL><DD>Returns a quick iterator that uses get and size methods. <p> As with all resource collections it is assumed that the iterator will be closed after use. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html#openIterator()">openIterator</A></CODE> in class <CODE><A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html" title="class in org.geotools.feature.collection">AbstractResourceCollection</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an iterator over the elements in this list in proper sequence.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/feature/collection/AbstractResourceList.html#modCount"><CODE>modCount</CODE></A></DL></DD></DL><HR><A NAME="closeIterator(java.util.Iterator)"><!-- --></A><H3>closeIterator</H3><PRE>protected void <B>closeIterator</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> close)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html" title="class in org.geotools.feature.collection">AbstractResourceCollection</A></CODE></B></DD><DD>Please override to cleanup after your own iterators, and any used resources. <p> As an example if the iterator was working off a File then the inputstream should be closed. </p> <p> Subclass must call super.close( close ) to allow the list of open iterators to be adjusted. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html#closeIterator(java.util.Iterator)">closeIterator</A></CODE> in class <CODE><A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html" title="class in org.geotools.feature.collection">AbstractResourceCollection</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>close</CODE> - Iterator, will not be <code>null</code></DL></DD></DL><HR><A NAME="subList(int, int)"><!-- --></A><H3>subList</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>subList</B>(int fromIndex, int toIndex)</PRE><DL><DD>view of the portion of this list between fromIndex up to toIndex.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#subList(int, int)" title="class or interface in java.util">subList</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fromIndex</CODE> - <DD><CODE>toIndex</CODE> - <DT><B>Returns:</B><DD>a view of the specified range within this list.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - endpoint indices out of order</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> o)</PRE><DL><DD>Compares the specified object with this list for equality. Returns <tt>true</tt> if and only if the specified object is also a list, both lists have the same size, and all corresponding pairs of elements in the two lists are <i>equal</i>. (Two elements <tt>e1</tt> and <tt>e2</tt> are <i>equal</i> if <tt>(e1==null ? e2==null : e1.equals(e2))</tt>.) In other words, two lists are defined to be equal if they contain the same elements in the same order. <p> This implementation first checks if the specified object is this list. If so, it returns <tt>true</tt>; if not, it checks if the specified object is a list. If not, it returns <tt>false</tt>; if so, it iterates over both lists, comparing corresponding pairs of elements. If any comparison returns <tt>false</tt>, this method returns <tt>false</tt>. If either iterator runs out of elements before the other it returns <tt>false</tt> (as the lists are of unequal length); otherwise it returns <tt>true</tt> when the iterations complete.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#equals(java.lang.Object)" title="class or interface in java.util">equals</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to be compared for equality with this list.<DT><B>Returns:</B><DD><tt>true</tt> if the specified object is equal to this list.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns the hash code value for this list. <p> This implementation uses exactly the code that is used to define the list hash function in the documentation for the <tt>List.hashCode</tt> method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#hashCode()" title="class or interface in java.util">hashCode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the hash code value for this list.</DL></DD></DL><HR><A NAME="removeRange(int, int)"><!-- --></A><H3>removeRange</H3><PRE>public void <B>removeRange</B>(int fromIndex, int toIndex)</PRE><DL><DD>Removes from this list all of the elements whose index is between fromIndex upto toIndex<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/collection/ResourceList.html#removeRange(int, int)">removeRange</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/collection/ResourceList.html" title="interface in org.geotools.data.collection">ResourceList</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fromIndex</CODE> - index of first element to be removed.<DD><CODE>toIndex</CODE> - index after last element to be removed.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractResourceList.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/feature/collection/AbstractResourceCollection.html" title="class in org.geotools.feature.collection"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/feature/collection/BaseFeatureState.html" title="class in org.geotools.feature.collection"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractResourceList.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?