keysortedlist.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 648 行 · 第 1/3 页

HTML
648 行
字号
count</H3><PRE>public int <B>count</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;key)</PRE><DL><DD>Returns the number of elements <A HREF="../../../org/geotools/util/KeySortedList.html#add(java.lang.Comparable, java.lang.Object)">added</A> with the specified key.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="containsKey(java.lang.Comparable)"><!-- --></A><H3>containsKey</H3><PRE>public boolean <B>containsKey</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;key)</PRE><DL><DD>Returns  if the list contains an element <A HREF="../../../org/geotools/util/KeySortedList.html#add(java.lang.Comparable, java.lang.Object)">added</A> with the specified key. This is equivalent to testing <code><A HREF="../../../org/geotools/util/KeySortedList.html#count(java.lang.Comparable)">count</A>(key) != 0</code>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="first(java.lang.Comparable)"><!-- --></A><H3>first</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>first</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;key)             throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></PRE><DL><DD>Returns the first element <A HREF="../../../org/geotools/util/KeySortedList.html#add(java.lang.Comparable, java.lang.Object)">added</A> with the specified key.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - The key for the element to search for.<DT><B>Returns:</B><DD>The first element added with the specified key.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></CODE> - if there is no element for the specified key.</DL></DD></DL><HR><A NAME="last(java.lang.Comparable)"><!-- --></A><H3>last</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>last</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;key)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></PRE><DL><DD>Returns the last element <A HREF="../../../org/geotools/util/KeySortedList.html#add(java.lang.Comparable, java.lang.Object)">added</A> with the specified key.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - The key for the element to search for.<DT><B>Returns:</B><DD>The last element added with the specified key.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></CODE> - if there is no element for the specified key.</DL></DD></DL><HR><A NAME="listIterator(java.lang.Comparable)"><!-- --></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>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;fromKey)</PRE><DL><DD>Returns a list iterator of the elements in this list (in proper sequence), starting at the elements <A HREF="../../../org/geotools/util/KeySortedList.html#add(java.lang.Comparable, java.lang.Object)">added</A> with the specified key.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - The key of the first element to returns.<DT><B>Returns:</B><DD>A list iterator of the elements in this list (in proper sequence).<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 index is out of range.</DL></DD></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&nbsp;index)</PRE><DL><DD>Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position. The specified index indicates the first element that would be returned by an initial call to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ListIterator.html#next()" title="class or interface in java.util"><CODE>next()</CODE></A> 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#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> - Index of first element to be returned from the list iterator.<DT><B>Returns:</B><DD>A list iterator of the elements in this list (in proper sequence).<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 index is out of range.</DL></DD></DL><HR><A NAME="headList(java.lang.Comparable)"><!-- --></A><H3>headList</H3><PRE>public <A HREF="../../../org/geotools/util/KeySortedList.html" title="class in org.geotools.util">KeySortedList</A> <B>headList</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;toKey)</PRE><DL><DD>Returns a view of the portion of this list whose keys are strictly less than . The returned list is backed by this list, so changes in the returned list are reflected in this list, and vice-versa.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>toKey</CODE> - high endpoint (exclusive) of the sub list.<DT><B>Returns:</B><DD>A view of the specified initial range of this list.</DL></DD></DL><HR><A NAME="tailList(java.lang.Comparable)"><!-- --></A><H3>tailList</H3><PRE>public <A HREF="../../../org/geotools/util/KeySortedList.html" title="class in org.geotools.util">KeySortedList</A> <B>tailList</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;fromKey)</PRE><DL><DD>Returns a view of the portion of this list whose keys are greater than or equal to . The returned list is backed by this list, so changes in the returned list are reflected in this list, and vice-versa.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fromKey</CODE> - low endpoint (inclusive) of the sub list.<DT><B>Returns:</B><DD>A view of the specified final range of this list.</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>&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/KeySortedList.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/geotools/util/GrowableInternationalString.html" title="class in org.geotools.util"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/util/ListenerList.html" title="class in org.geotools.util"><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="KeySortedList.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_AbstractList">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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