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

📄 basicdirectednode.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getEdges(org.geotools.graph.structure.Node)">getEdges</A></B>(<A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A combination of the results of getInEdges(Node) and getOutEdges(Node).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getInDegree()">getInDegree</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <B>in</B> degree of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getInEdge(org.geotools.graph.structure.DirectedNode)">getInEdge</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an edge that terminates at the node and originates from a  specified node. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getInEdges()">getInEdges</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <B>in</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getInEdges(org.geotools.graph.structure.DirectedNode)">getInEdges</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all edges that terminate at the node and originate from a  specified node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/BasicDirectedNode.html#getInRelated()">getInRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all in nodes of in edges.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getOutDegree()">getOutDegree</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <B>out</B> degree of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getOutEdge(org.geotools.graph.structure.DirectedNode)">getOutEdge</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an edge that originates at the node and terminates at a  specified node. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getOutEdges()">getOutEdges</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <B>out</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#getOutEdges(org.geotools.graph.structure.DirectedNode)">getOutEdges</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all edges that originate at the node and terminate from at  specified node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/BasicDirectedNode.html#getOutRelated()">getOutRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all out nodes of out edges.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/BasicDirectedNode.html#getRelated()">getRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over all out nodes of out edges and in nodes of in  edges.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#remove(org.geotools.graph.structure.Edge)">remove</A></B>(<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the edge from both the in and out adjacency lists.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#removeIn(org.geotools.graph.structure.DirectedEdge)">removeIn</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an edge from the <B>in</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html#removeOut(org.geotools.graph.structure.DirectedEdge)">removeOut</A></B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an edge from the <B>out</B> adjacency list of node.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;<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="BasicDirectedNode()"><!-- --></A><H3>BasicDirectedNode</H3><PRE>public <B>BasicDirectedNode</B>()</PRE><DL><DD>Constructs a new BasicDirectedNode.<P></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="add(org.geotools.graph.structure.Edge)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A>&nbsp;e)</PRE><DL><DD>Unsupported operation. Directed nodes classify edges as <B>in</B> and  <B>out</B>. addIn(Edge) and addOut(Edge) should be used instead of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#add(org.geotools.graph.structure.Edge)">add</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - Adjacent edge to add.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addIn(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.addIn(DirectedEdge)</CODE></A>, <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addOut(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.addOut(DirectedEdge)</CODE></A></DL></DD></DL><HR><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>&nbsp;e)</PRE><DL><DD>Adds an edge to the <B>in</B> adjacency list of the node which is an  underlying List implementation. No checking is done on the edge  (duplication, looping...), it is simply added to the list. It is also

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -