blob: 6be37b7687b8e2cb52140a2ea91011b95941c638 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DirectedGraph (Archiva Components :: Parent 3.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DirectedGraph (Archiva Components :: Parent 3.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DirectedGraph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/archiva/components/graph/base/BaseEdge.html" title="class in org.apache.archiva.components.graph.base"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/archiva/components/graph/base/SimpleGraph.html" title="class in org.apache.archiva.components.graph.base"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/archiva/components/graph/base/DirectedGraph.html" target="_top">Frames</a></li>
<li><a href="DirectedGraph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.archiva.components.graph.base</div>
<h2 title="Class DirectedGraph" class="title">Class DirectedGraph&lt;V extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;V&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.archiva.components.graph.base.DirectedGraph&lt;V&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>V</code> - The node implementation.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;V&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/archiva/components/graph/base/SimpleGraph.html" title="class in org.apache.archiva.components.graph.base">SimpleGraph</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.43">DirectedGraph</a>&lt;V extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;V&gt;&gt;
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;V&gt;</pre>
<div class="block">Abstract implementation of a directed graph</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#edges">edges</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#nodes">nodes</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#DirectedGraph--">DirectedGraph</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#addEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-java.lang.String-V-V-">addEdge</a></span>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</code>
<div class="block">Creates a new edge instance with the given id or returns the edge instance with the given id and
type.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#addEdge-java.lang.String-java.lang.String-V-V-">addEdge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</code>
<div class="block">Creates a new edge instance with the given id or returns the edge instance with the given id.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#addNode-java.lang.String-java.lang.String-">addNode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</code>
<div class="block">Adds a new node if the id does not exist yet, otherwise returns the node with the given id
and the new label set.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#createNewEdge-org.apache.archiva.components.graph.api.RelationType-V-V-">createNewEdge</a></span>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</code>
<div class="block">Creates a new edge instance on each method call.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#createNewNode--">createNewNode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#findNodes-java.lang.String-">findNodes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</code>
<div class="block">Finds nodes using a given query.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#getEdge-java.lang.String-">getEdge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Returns the edge with the given id.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#getNode-java.lang.String-">getNode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Returns the node with the given id</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#getNodes--">getNodes</a></span>()</code>
<div class="block">Returns all nodes of the graph</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#newEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-V-V-">newEdge</a></span>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</code>
<div class="block">Creates a new edge instance with the given label.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#newEdge-java.lang.String-V-V-">newEdge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</code>
<div class="block">Creates a new edge instance with the given label.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#newNode-java.lang.String-">newNode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</code>
<div class="block">Creates a node with the given label in the graph.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#removeEdge-org.apache.archiva.components.graph.api.Edge-">removeEdge</a></span>(<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;edge)</code>
<div class="block">Removes the edge from the graph and unregisters it from the source and destination</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html#removeNode-V-">removeNode</a></span>(<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;node)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="nodes">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodes</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt; <a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.48">nodes</a></pre>
</li>
</ul>
<a name="edges">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>edges</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;&gt; <a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.49">edges</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DirectedGraph--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DirectedGraph</h4>
<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.43">DirectedGraph</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="newNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newNode</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.52">newNode</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newNode-java.lang.String-">Graph</a></code></span></div>
<div class="block">Creates a node with the given label in the graph. The id of the node is generated
by the graph implementation.
The method returns always a new node instance, even if a node with the given label
exists already.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newNode-java.lang.String-">newNode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - the label of the new node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new node instance with the given label and a generated id</dd>
</dl>
</li>
</ul>
<a name="addNode-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNode</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.61">addNode</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addNode-java.lang.String-java.lang.String-">Graph</a></code></span></div>
<div class="block">Adds a new node if the id does not exist yet, otherwise returns the node with the given id
and the new label set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addNode-java.lang.String-java.lang.String-">addNode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the id of the node</dd>
<dd><code>label</code> - the label of the node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new node instance or the existing node with the given id</dd>
</dl>
</li>
</ul>
<a name="createNewNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNewNode</h4>
<pre>protected&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.78">createNewNode</a>()</pre>
</li>
</ul>
<a name="createNewEdge-org.apache.archiva.components.graph.api.RelationType-org.apache.archiva.components.graph.api.Node-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="createNewEdge-org.apache.archiva.components.graph.api.RelationType-V-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNewEdge</h4>
<pre>protected&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.99">createNewEdge</a>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</pre>
<div class="block">Creates a new edge instance on each method call. The id will be a generated UUID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the relation type</dd>
<dd><code>sourceNode</code> - the source node</dd>
<dd><code>destinationNode</code> - the destination node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new edge instance</dd>
</dl>
</li>
</ul>
<a name="newEdge-java.lang.String-org.apache.archiva.components.graph.api.Node-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="newEdge-java.lang.String-V-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newEdge</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.120">newEdge</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newEdge-java.lang.String-V-V-">Graph</a></code></span></div>
<div class="block">Creates a new edge instance with the given label. The method returns always a new edge instance,
even if a edge with the given label exists already.
The type is set to <a href="../../../../../../org/apache/archiva/components/graph/api/StandardRelationType.html#DEFAULT"><code>StandardRelationType.DEFAULT</code></a></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newEdge-java.lang.String-V-V-">newEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - the edge label</dd>
<dd><code>sourceNode</code> - the source node</dd>
<dd><code>destinationNode</code> - the destination node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new edge instance</dd>
</dl>
</li>
</ul>
<a name="newEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-org.apache.archiva.components.graph.api.Node-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="newEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-V-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newEdge</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.126">newEdge</a>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-V-V-">Graph</a></code></span></div>
<div class="block">Creates a new edge instance with the given label. The method returns always a new edge instance,
even if a edge with the given label exists already.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#newEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-V-V-">newEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the edge type</dd>
<dd><code>label</code> - the edge label</dd>
<dd><code>sourceNode</code> - the source node</dd>
<dd><code>destinationNode</code> - the destination node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new edge instance</dd>
</dl>
</li>
</ul>
<a name="addEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-java.lang.String-org.apache.archiva.components.graph.api.Node-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="addEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-java.lang.String-V-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addEdge</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.143">addEdge</a>(<a href="../../../../../../org/apache/archiva/components/graph/api/RelationType.html" title="interface in org.apache.archiva.components.graph.api">RelationType</a>&nbsp;type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-java.lang.String-V-V-">Graph</a></code></span></div>
<div class="block">Creates a new edge instance with the given id or returns the edge instance with the given id and
type.
If a edge with the id exists already but with a different type it will throw a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addEdge-org.apache.archiva.components.graph.api.RelationType-java.lang.String-java.lang.String-V-V-">addEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the type of the edge</dd>
<dd><code>id</code> - the id</dd>
<dd><code>label</code> - the edge label</dd>
<dd><code>sourceNode</code> - the source node</dd>
<dd><code>destinationNode</code> - the destination node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the newly created edge instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if a edge instance with the given id but a different type exists already. Or if
source or destination node is <code>null</code></dd>
</dl>
</li>
</ul>
<a name="addEdge-java.lang.String-java.lang.String-org.apache.archiva.components.graph.api.Node-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="addEdge-java.lang.String-java.lang.String-V-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addEdge</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.171">addEdge</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;sourceNode,
<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;destinationNode)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addEdge-java.lang.String-java.lang.String-V-V-">Graph</a></code></span></div>
<div class="block">Creates a new edge instance with the given id or returns the edge instance with the given id.
If the edge is newly created it will get the type <a href="../../../../../../org/apache/archiva/components/graph/api/StandardRelationType.html#DEFAULT"><code>StandardRelationType.DEFAULT</code></a></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#addEdge-java.lang.String-java.lang.String-V-V-">addEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the id</dd>
<dd><code>label</code> - the edge label</dd>
<dd><code>sourceNode</code> - the source node</dd>
<dd><code>destinationNode</code> - the destination node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the newly created edge instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if source or destination is <code>null</code></dd>
</dl>
</li>
</ul>
<a name="getNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNode</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.177">getNode</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getNode-java.lang.String-">Graph</a></code></span></div>
<div class="block">Returns the node with the given id</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getNode-java.lang.String-">getNode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the node id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the found node, or <code>null</code>, if it does not exist</dd>
</dl>
</li>
</ul>
<a name="getEdge-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdge</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.183">getEdge</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getEdge-java.lang.String-">Graph</a></code></span></div>
<div class="block">Returns the edge with the given id.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getEdge-java.lang.String-">getEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the edge id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the found edge instance, or <code>null</code>, if it does not exist</dd>
</dl>
</li>
</ul>
<a name="getNodes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodes</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.189">getNodes</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getNodes--">Graph</a></code></span></div>
<div class="block">Returns all nodes of the graph</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#getNodes--">getNodes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of nodes that build the graph</dd>
</dl>
</li>
</ul>
<a name="findNodes-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findNodes</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.195">findNodes</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#findNodes-java.lang.String-">Graph</a></code></span></div>
<div class="block">Finds nodes using a given query. The query syntax depends on the graph implementation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#findNodes-java.lang.String-">findNodes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - the query to find nodes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the found nodes, or a empty list</dd>
</dl>
</li>
</ul>
<a name="removeNode-org.apache.archiva.components.graph.api.Node-">
<!-- -->
</a><a name="removeNode-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.201">removeNode</a>(<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&nbsp;node)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#removeNode-V-">removeNode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="removeEdge-org.apache.archiva.components.graph.api.Edge-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removeEdge</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/archiva/components/graph/base/DirectedGraph.html#line.217">removeEdge</a>(<a href="../../../../../../org/apache/archiva/components/graph/api/Edge.html" title="interface in org.apache.archiva.components.graph.api">Edge</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&nbsp;edge)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#removeEdge-org.apache.archiva.components.graph.api.Edge-">Graph</a></code></span></div>
<div class="block">Removes the edge from the graph and unregisters it from the source and destination</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html#removeEdge-org.apache.archiva.components.graph.api.Edge-">removeEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/archiva/components/graph/api/Graph.html" title="interface in org.apache.archiva.components.graph.api">Graph</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a> extends <a href="../../../../../../org/apache/archiva/components/graph/api/Node.html" title="interface in org.apache.archiva.components.graph.api">Node</a>&lt;<a href="../../../../../../org/apache/archiva/components/graph/base/DirectedGraph.html" title="type parameter in DirectedGraph">V</a>&gt;&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to remove</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DirectedGraph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/archiva/components/graph/base/BaseEdge.html" title="class in org.apache.archiva.components.graph.base"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/archiva/components/graph/base/SimpleGraph.html" title="class in org.apache.archiva.components.graph.base"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/archiva/components/graph/base/DirectedGraph.html" target="_top">Frames</a></li>
<li><a href="DirectedGraph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2019 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>