📄 graphbuilder.html
字号:
</TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="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 built.<P><DD><DL><DT><B>Returns:</B><DD>Graph The graph being built.</DL></DD></DL><HR><A NAME="buildNode()"><!-- --></A><H3>buildNode</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> <B>buildNode</B>()</PRE><DL><DD>Builds a new node for the graph. This method does not add the new node to the graph, this must be done with the addNode(Node) method.<P><DD><DL><DT><B>Returns:</B><DD>Node The newly built node.</DL></DD></DL><HR><A NAME="buildEdge(org.geotools.graph.structure.Node, org.geotools.graph.structure.Node)"><!-- --></A><H3>buildEdge</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>buildEdge</B>(<A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> nodeA, <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> nodeB)</PRE><DL><DD>Builds a new edge for the graph. This method does not add the new node to the graph, this must be done with the addEdge(Edge) method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodeA</CODE> - Adjacent node to edge.<DD><CODE>nodeB</CODE> - Adjacent node to edge.<DT><B>Returns:</B><DD>Edge the newly built Edge.</DL></DD></DL><HR><A NAME="addNode(org.geotools.graph.structure.Node)"><!-- --></A><H3>addNode</H3><PRE>public void <B>addNode</B>(<A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> node)</PRE><DL><DD>Adds a node to the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to be added to graph.</DL></DD></DL><HR><A NAME="addEdge(org.geotools.graph.structure.Edge)"><!-- --></A><H3>addEdge</H3><PRE>public void <B>addEdge</B>(<A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> edge)</PRE><DL><DD>Adds an edge to the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>edge</CODE> - Edge to be added to graph.</DL></DD></DL><HR><A NAME="removeNode(org.geotools.graph.structure.Node)"><!-- --></A><H3>removeNode</H3><PRE>public void <B>removeNode</B>(<A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> node)</PRE><DL><DD>Removes an node from the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to be removed from graph.</DL></DD></DL><HR><A NAME="removeNodes(java.util.Collection)"><!-- --></A><H3>removeNodes</H3><PRE>public void <B>removeNodes</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> nodes)</PRE><DL><DD>Removes a collection of nodes from the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - A collection of nodes to be removed from the graph.</DL></DD></DL><HR><A NAME="removeEdge(org.geotools.graph.structure.Edge)"><!-- --></A><H3>removeEdge</H3><PRE>public void <B>removeEdge</B>(<A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> edge)</PRE><DL><DD>Removes an edge from the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>edge</CODE> - Edge to be removed from graph.</DL></DD></DL><HR><A NAME="removeEdges(java.util.Collection)"><!-- --></A><H3>removeEdges</H3><PRE>public void <B>removeEdges</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> edges)</PRE><DL><DD>Removes a collection of edges from the graph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>edges</CODE> - Collection of edges to be removed from the graph.</DL></DD></DL><HR><A NAME="clone(boolean)"><!-- --></A><H3>clone</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>clone</B>(boolean deep) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>Returns a clone of the builder. A deep clone copies the underlying graph structure, a non deep clone results in an empty builder<P><DD><DL><DT><B>Parameters:</B><DD><CODE>deep</CODE> - Deep or non deep clone.<DT><B>Returns:</B><DD>A graph builder.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="importGraph(org.geotools.graph.structure.Graph)"><!-- --></A><H3>importGraph</H3><PRE>public void <B>importGraph</B>(<A HREF="../../../../org/geotools/graph/structure/Graph.html" title="interface in org.geotools.graph.structure">Graph</A> g)</PRE><DL><DD>Constructs a graph builder from a pre built graph. The nodes and edges of the existing graph are imported into the builder. Relationships between nodes and edges are assummed to be preexistant.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - A pre built graph.</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/GraphBuilder.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"> PREV CLASS <A HREF="../../../../org/geotools/graph/build/GraphGenerator.html" title="interface in org.geotools.graph.build"><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="GraphBuilder.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | 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 + -