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

📄 walk.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD><DD><DL></DL></DD></DL><HR><A NAME="remove(org.geotools.graph.structure.Node)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>&nbsp;node)</PRE><DL><DD>Removes a node from the walk. Removing a node clears the edge list which   will be recalculated on the next call to getEdges().<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to remove from the walk.</DL></DD></DL><HR><A NAME="remove(int)"><!-- --></A><H3>remove</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>remove</B>(int&nbsp;index)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#remove(int)" title="class or interface in java.util">remove</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></DL></DD></DL><HR><A NAME="remove(java.lang.Object)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</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>&nbsp;o)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#remove(java.lang.Object)" title="class or interface in java.util">remove</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></DL></DD></DL><HR><A NAME="removeAll(java.util.Collection)"><!-- --></A><H3>removeAll</H3><PRE>public boolean <B>removeAll</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&nbsp;c)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html#removeAll(java.util.Collection)" title="class or interface in java.util">removeAll</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></DL></DD></DL><HR><A NAME="isClosed()"><!-- --></A><H3>isClosed</H3><PRE>public boolean <B>isClosed</B>()</PRE><DL><DD>Determines if the walk is closed. A closed walk is one in which the  first and last nodes are the same.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if closed, otherwise false.</DL></DD></DL><HR><A NAME="getFirst()"><!-- --></A><H3>getFirst</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> <B>getFirst</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html" title="interface in org.geotools.graph.path">NodeSequence</A></CODE></B></DD><DD>Returns the first node in the sequence.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html#getFirst()">getFirst</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html" title="interface in org.geotools.graph.path">NodeSequence</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Object of tupe Node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/path/NodeSequence.html#getFirst()"><CODE>NodeSequence.getFirst()</CODE></A></DL></DD></DL><HR><A NAME="getLast()"><!-- --></A><H3>getLast</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> <B>getLast</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html" title="interface in org.geotools.graph.path">NodeSequence</A></CODE></B></DD><DD>Returns the last node in the sequence.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html#getLast()">getLast</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/graph/path/NodeSequence.html" title="interface in org.geotools.graph.path">NodeSequence</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Object of type node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/path/NodeSequence.html#getLast()"><CODE>NodeSequence.getLast()</CODE></A></DL></DD></DL><HR><A NAME="buildEdges()"><!-- --></A><H3>buildEdges</H3><PRE>protected <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>buildEdges</B>()</PRE><DL><DD>Internal method for building the edge set of the walk. This method  calculated the edges upon every call.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The list of edges for the walk, or null if the edge set could not be calculated due to an invalid walk.</DL></DD></DL><HR><A NAME="reverse()"><!-- --></A><H3>reverse</H3><PRE>public void <B>reverse</B>()</PRE><DL><DD>Reverses the path.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="truncate(int)"><!-- --></A><H3>truncate</H3><PRE>public void <B>truncate</B>(int&nbsp;index)</PRE><DL><DD>Truncates the path at the specified index. Nodes in the path whose index is >= the specified index are removed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of first node to be removed.</DL></DD></DL><HR><A NAME="riterator()"><!-- --></A><H3>riterator</H3><PRE>public <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>riterator</B>()</PRE><DL><DD>Returns an iterator that iterates over the path in reverse. The iterator does not support the remove operation.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the reverse iterator.</DL></DD></DL><HR><A NAME="duplicate()"><!-- --></A><H3>duplicate</H3><PRE>public <A HREF="../../../../org/geotools/graph/path/Path.html" title="class in org.geotools.graph.path">Path</A> <B>duplicate</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></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>&nbsp;other)</PRE><DL><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></DL></DD></DL><HR><A NAME="equals(org.geotools.graph.path.Walk)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../org/geotools/graph/path/Walk.html" title="class in org.geotools.graph.path">Walk</A>&nbsp;other)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><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></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/Walk.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/graph/path/Path.html" title="class in org.geotools.graph.path"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Walk.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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -