📄 directednode.html
字号:
<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="addIn(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>addIn</H3><PRE>public void <B>addIn</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</PRE><DL><DD>Adds an edge to the <B>in</B> adjacency list of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that terminates at the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#add(org.geotools.graph.structure.Edge)"><CODE>Node.add(Edge)</CODE></A></DL></DD></DL><HR><A NAME="addOut(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>addOut</H3><PRE>public void <B>addOut</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</PRE><DL><DD>Adds an edge to the <B>out</B> adjacency list of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that originates from the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#add(org.geotools.graph.structure.Edge)"><CODE>Node.add(Edge)</CODE></A></DL></DD></DL><HR><A NAME="removeIn(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>removeIn</H3><PRE>public void <B>removeIn</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</PRE><DL><DD>Removes an edge from the <B>in</B> adjacency list of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that terminates at the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)"><CODE>Node.remove(Edge)</CODE></A></DL></DD></DL><HR><A NAME="removeOut(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>removeOut</H3><PRE>public void <B>removeOut</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</PRE><DL><DD>Removes an edge from the <B>out</B> adjacency list of node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that originates from the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)"><CODE>Node.remove(Edge)</CODE></A></DL></DD></DL><HR><A NAME="getInEdge(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getInEdge</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>getInEdge</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</PRE><DL><DD>Returns an edge that terminates at the node and originates from a specified node. <BR> <BR> Note: It is possible for two nodes to share multiple edges between them. In this case, getInEdges(Node other) can be used to obtain a complete list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The originating node.<DT><B>Returns:</B><DD>The first edge found to terminate at the node and originate from the specefied node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdge(org.geotools.graph.structure.Node)"><CODE>Node.getEdge(Node)</CODE></A></DL></DD></DL><HR><A NAME="getInEdges(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getInEdges</H3><PRE>public <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>getInEdges</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</PRE><DL><DD>Returns all edges that terminate at the node and originate from a specified node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The originating node.<DT><B>Returns:</B><DD>All edges found to terminate at the node and originate from the specified node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges(org.geotools.graph.structure.Node)"><CODE>Node.getEdges(Node)</CODE></A></DL></DD></DL><HR><A NAME="getInEdges()"><!-- --></A><H3>getInEdges</H3><PRE>public <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>getInEdges</B>()</PRE><DL><DD>Returns the <B>in</B> adjacency list of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of edges that terminate at the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges()"><CODE>Node.getEdges()</CODE></A></DL></DD></DL><HR><A NAME="getOutEdge(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getOutEdge</H3><PRE>public <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>getOutEdge</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</PRE><DL><DD>Returns an edge that originates at the node and terminates at a specified node. <BR> <BR> Note: It is possible for two nodes to share multiple edges between them. In this case, getOutEdges(Node other) can be used to obtain a complete list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The terminating node.<DT><B>Returns:</B><DD>The first edge found to originate at the node and terminate at the specefied node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdge(org.geotools.graph.structure.Node)"><CODE>Node.getEdge(Node)</CODE></A></DL></DD></DL><HR><A NAME="getOutEdges(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getOutEdges</H3><PRE>public <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>getOutEdges</B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</PRE><DL><DD>Returns all edges that originate at the node and terminate from at specified node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The temimnating node.<DT><B>Returns:</B><DD>All edges found to originate at the node and terminate at the specified node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges(org.geotools.graph.structure.Node)"><CODE>Node.getEdges(Node)</CODE></A></DL></DD></DL><HR><A NAME="getOutEdges()"><!-- --></A><H3>getOutEdges</H3><PRE>public <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>getOutEdges</B>()</PRE><DL><DD>Returns the <B>out</B> adjacency list of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of edges originating at the node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges()"><CODE>Node.getEdges()</CODE></A></DL></DD></DL><HR><A NAME="getInDegree()"><!-- --></A><H3>getInDegree</H3><PRE>public int <B>getInDegree</B>()</PRE><DL><DD>Returns the <B>in</B> degree of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of edges that terminate at the node.</DL></DD></DL><HR><A NAME="getOutDegree()"><!-- --></A><H3>getOutDegree</H3><PRE>public int <B>getOutDegree</B>()</PRE><DL><DD>Returns the <B>out</B> degree of the node.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of edges that originate at the node.</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/DirectedNode.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/structure/DirectedGraphable.html" title="interface in org.geotools.graph.structure"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure"><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="DirectedNode.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 + -