esds
Version:
ES6 JS lightweight data structures (Priority Queue, Binary Search Tree (BST), Graph, Bloom Filters, Trie, Queue, Stack, Linked-List)
807 lines (192 loc) • 9.27 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: Node</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: Node</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
<div class="class-description">Represents an Node in the Graph.</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="Node"><span class="type-signature"></span>new Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>val</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">The value of the element</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Graph.mjs.html">Graph.mjs</a>, <a href="Graph.mjs.html#line7">line 7</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
<div class="class-description">Represents an element in the List.</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="Node"><span class="type-signature"></span>new Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>val</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">The value of the element</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="LinkedList.mjs.html">LinkedList.mjs</a>, <a href="LinkedList.mjs.html#line4">line 4</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
<div class="class-description">Represents an element in the List.</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="Node"><span class="type-signature"></span>new Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>val</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">The value of the element</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Queue.mjs.html">Queue.mjs</a>, <a href="Queue.mjs.html#line4">line 4</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
<div class="class-description">Represents an element in the List.</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="Node"><span class="type-signature"></span>new Node<span class="signature">(val<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>val</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">The value of the element</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Stack.mjs.html">Stack.mjs</a>, <a href="Stack.mjs.html#line4">line 4</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BloomFilter.html">BloomFilter</a></li><li><a href="BST.html">BST</a></li><li><a href="Element.html">Element</a></li><li><a href="Graph.html">Graph</a></li><li><a href="List.html">List</a></li><li><a href="Node.html">Node</a></li><li><a href="PriorityQueue.html">PriorityQueue</a></li><li><a href="Queue.html">Queue</a></li><li><a href="Stack.html">Stack</a></li><li><a href="TreeElement.html">TreeElement</a></li><li><a href="Trie.html">Trie</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Thu Sep 23 2021 00:49:18 GMT-0700 (Pacific Daylight Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>