📄 graphtraversal.html
字号:
</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/geotools/graph/traverse/GraphTraversal.html#setWalker(org.geotools.graph.traverse.GraphWalker)">setWalker</A></B>(<A HREF="../../../../org/geotools/graph/traverse/GraphWalker.html" title="interface in org.geotools.graph.traverse">GraphWalker</A> walker)</CODE><BR> Sets the walker (visitor) traversing the graph.</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/geotools/graph/traverse/GraphTraversal.html#traverse()">traverse</A></B>()</CODE><BR> Starts or resumes a traversal over the components of a graph.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="CONTINUE"><!-- --></A><H3>CONTINUE</H3><PRE>public static final int <B>CONTINUE</B></PRE><DL><DD>Signals the traversal to continue<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.graph.traverse.GraphTraversal.CONTINUE">Constant Field Values</A></DL></DL><HR><A NAME="SUSPEND"><!-- --></A><H3>SUSPEND</H3><PRE>public static final int <B>SUSPEND</B></PRE><DL><DD>Signals the traversal to suspend at some intermediate point<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.graph.traverse.GraphTraversal.SUSPEND">Constant Field Values</A></DL></DL><HR><A NAME="KILL_BRANCH"><!-- --></A><H3>KILL_BRANCH</H3><PRE>public static final int <B>KILL_BRANCH</B></PRE><DL><DD>Signals the traversal to kill the current branch<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.graph.traverse.GraphTraversal.KILL_BRANCH">Constant Field Values</A></DL></DL><HR><A NAME="STOP"><!-- --></A><H3>STOP</H3><PRE>public static final int <B>STOP</B></PRE><DL><DD>Signals the traversal to stop<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.graph.traverse.GraphTraversal.STOP">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setGraph(org.geotools.graph.structure.Graph)"><!-- --></A><H3>setGraph</H3><PRE>public void <B>setGraph</B>(<A HREF="../../../../org/geotools/graph/structure/Graph.html" title="interface in org.geotools.graph.structure">Graph</A> graph)</PRE><DL><DD>Sets the graph being traversed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>graph</CODE> - The graph whose components are being traversed.</DL></DD></DL><HR><A NAME="getGraph()"><!-- --></A><H3>getGraph</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Graph.html" title="interface in org.geotools.graph.structure">Graph</A> <B>getGraph</B>()</PRE><DL><DD>Returns the graph being traversed.<P><DD><DL><DT><B>Returns:</B><DD>The graph whose components are being traversed.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Graph.html" title="interface in org.geotools.graph.structure"><CODE>Graph</CODE></A></DL></DD></DL><HR><A NAME="setIterator(org.geotools.graph.traverse.GraphIterator)"><!-- --></A><H3>setIterator</H3><PRE>public void <B>setIterator</B>(<A HREF="../../../../org/geotools/graph/traverse/GraphIterator.html" title="interface in org.geotools.graph.traverse">GraphIterator</A> iterator)</PRE><DL><DD>Sets the iterator that specifies the order in which visit graph components.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iterator</CODE> - The iterator over the graph components.</DL></DD></DL><HR><A NAME="getIterator()"><!-- --></A><H3>getIterator</H3><PRE>public <A HREF="../../../../org/geotools/graph/traverse/GraphIterator.html" title="interface in org.geotools.graph.traverse">GraphIterator</A> <B>getIterator</B>()</PRE><DL><DD>Returns the iterator that specifies the order in which to visit graph components.<P><DD><DL><DT><B>Returns:</B><DD>The iterator over the graph components.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/traverse/GraphIterator.html" title="interface in org.geotools.graph.traverse"><CODE>GraphIterator</CODE></A></DL></DD></DL><HR><A NAME="setWalker(org.geotools.graph.traverse.GraphWalker)"><!-- --></A><H3>setWalker</H3><PRE>public void <B>setWalker</B>(<A HREF="../../../../org/geotools/graph/traverse/GraphWalker.html" title="interface in org.geotools.graph.traverse">GraphWalker</A> walker)</PRE><DL><DD>Sets the walker (visitor) traversing the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>walker</CODE> - The walker being iterated over the components of the graph.</DL></DD></DL><HR><A NAME="getWalker()"><!-- --></A><H3>getWalker</H3><PRE>public <A HREF="../../../../org/geotools/graph/traverse/GraphWalker.html" title="interface in org.geotools.graph.traverse">GraphWalker</A> <B>getWalker</B>()</PRE><DL><DD>Returns the walker (visitor) traversing the graph of the graph.<P><DD><DL><DT><B>Returns:</B><DD>The walker being iterated over the components.</DL></DD></DL><HR><A NAME="init()"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>()</PRE><DL><DD>Initializes the traversal.<P><DD><DL></DL></DD></DL><HR><A NAME="traverse()"><!-- --></A><H3>traverse</H3><PRE>public void <B>traverse</B>()</PRE><DL><DD>Starts or resumes a traversal over the components of a graph.<P><DD><DL></DL></DD></DL><HR><A NAME="isVisited(org.geotools.graph.structure.Graphable)"><!-- --></A><H3>isVisited</H3><PRE>public boolean <B>isVisited</B>(<A HREF="../../../../org/geotools/graph/structure/Graphable.html" title="interface in org.geotools.graph.structure">Graphable</A> g)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setVisited(org.geotools.graph.structure.Graphable, boolean)"><!-- --></A><H3>setVisited</H3><PRE>public void <B>setVisited</B>(<A HREF="../../../../org/geotools/graph/structure/Graphable.html" title="interface in org.geotools.graph.structure">Graphable</A> g, boolean visited)</PRE><DL><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> </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/GraphTraversal.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/graph/traverse/GraphIterator.html" title="interface in org.geotools.graph.traverse"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/graph/traverse/GraphWalker.html" title="interface in org.geotools.graph.traverse"><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="GraphTraversal.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -