📄 basicdirectededge.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getInRelated()">getInRelated</A></B>()</CODE><BR> Returns an iterator over the in edges of the in node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getNodeA()">getNodeA</A></B>()</CODE><BR> Returns the in node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getNodeB()">getNodeB</A></B>()</CODE><BR> Returns the out node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getOtherNode(org.geotools.graph.structure.Node)">getOtherNode</A></B>(<A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> node)</CODE><BR> Returns one of the two nodes of an edge. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getOutNode()">getOutNode</A></B>()</CODE><BR> Returns the terminating (out) node of the edge.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getOutRelated()">getOutRelated</A></B>()</CODE><BR> Returns an iterator over the out edges of the out node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedEdge.html#getRelated()">getRelated</A></B>()</CODE><BR> Returns an iterator over all edges incident to both the in and out nodes.</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/structure/basic/BasicDirectedEdge.html#reverse()">reverse</A></B>()</CODE><BR> Removes the edge from the out list of the in node and from the in list of the out node. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_BasicGraphable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html" title="class in org.geotools.graph.structure.basic">BasicGraphable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#getCount()">getCount</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#getID()">getID</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#getObject()">getObject</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#isVisited()">isVisited</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#setCount(int)">setCount</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#setID(int)">setID</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#setObject(java.lang.Object)">setObject</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#setVisited(boolean)">setVisited</A>, <A HREF="../../../../../org/geotools/graph/structure/basic/BasicGraphable.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <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></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Graphable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../../org/geotools/graph/structure/Graphable.html" title="interface in org.geotools.graph.structure">Graphable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/graph/structure/Graphable.html#getCount()">getCount</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#getID()">getID</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#getObject()">getObject</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#isVisited()">isVisited</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#setCount(int)">setCount</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#setID(int)">setID</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#setObject(java.lang.Object)">setObject</A>, <A HREF="../../../../../org/geotools/graph/structure/Graphable.html#setVisited(boolean)">setVisited</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BasicDirectedEdge(org.geotools.graph.structure.DirectedNode, org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>BasicDirectedEdge</H3><PRE>public <B>BasicDirectedEdge</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> in, <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> out)</PRE><DL><DD>Contstructs a new DirectedEdge.<P><DT><B>Parameters:</B><DD><CODE>in</CODE> - The in node of the edge.<DD><CODE>out</CODE> - The out node of the edge.</DL><!-- ============ 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="getInNode()"><!-- --></A><H3>getInNode</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> <B>getInNode</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A></CODE></B></DD><DD>Returns the originating (in) node of the edge.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getInNode()">getInNode</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The directed node at the source of the edge.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getInNode()"><CODE>DirectedEdge.getInNode()</CODE></A></DL></DD></DL><HR><A NAME="getOutNode()"><!-- --></A><H3>getOutNode</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> <B>getOutNode</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A></CODE></B></DD><DD>Returns the terminating (out) node of the edge.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getOutNode()">getOutNode</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The directed node at the destination of the edge.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getOutNode()"><CODE>DirectedEdge.getOutNode()</CODE></A></DL></DD></DL><HR><A NAME="getNodeA()"><!-- --></A><H3>getNodeA</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> <B>getNodeA</B>()</PRE><DL><DD>Returns the in node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Edge.html#getNodeA()">getNodeA</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The A node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/Edge.html#getNodeA()"><CODE>Edge.getNodeA()</CODE></A></DL></DD></DL><HR><A NAME="getNodeB()"><!-- --></A><H3>getNodeB</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A> <B>getNodeB</B>()</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -