data-structure-typed 1.32.0 → 1.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +12 -1
- package/.prettierrc.js +1 -1
- package/CHANGELOG.md +1 -1
- package/README.md +63 -176
- package/coverage/clover.xml +717 -717
- package/coverage/coverage-final.json +21 -21
- package/coverage/coverage-summary.json +68 -0
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/aa-tree.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/abstract-binary-tree.ts.html +19 -7
- package/coverage/lcov-report/src/data-structures/binary-tree/avl-tree.ts.html +5 -5
- package/coverage/lcov-report/src/data-structures/binary-tree/b-tree.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/binary-indexed-tree.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/binary-tree.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/binary-tree/bst.ts.html +7 -25
- package/coverage/lcov-report/src/data-structures/binary-tree/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/rb-tree.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/binary-tree/segment-tree.ts.html +2 -2
- package/coverage/lcov-report/src/data-structures/binary-tree/splay-tree.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/binary-tree/tree-multiset.ts.html +9 -9
- package/coverage/lcov-report/src/data-structures/binary-tree/two-three-tree.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/graph/abstract-graph.ts.html +17 -17
- package/coverage/lcov-report/src/data-structures/graph/directed-graph.ts.html +5 -5
- package/coverage/lcov-report/src/data-structures/graph/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/graph/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/graph/map-graph.ts.html +3 -3
- package/coverage/lcov-report/src/data-structures/graph/undirected-graph.ts.html +5 -5
- package/coverage/lcov-report/src/data-structures/hash/coordinate-map.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/coordinate-set.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/hash-table.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/pair.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/tree-map.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/hash/tree-set.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/heap/heap.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/heap/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/heap/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/heap/max-heap.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/heap/min-heap.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/linked-list/doubly-linked-list.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/linked-list/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/linked-list/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/linked-list/singly-linked-list.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/linked-list/skip-linked-list.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/matrix/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/matrix/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/matrix/matrix.ts.html +3 -3
- package/coverage/lcov-report/src/data-structures/matrix/matrix2d.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/matrix/navigator.ts.html +4 -4
- package/coverage/lcov-report/src/data-structures/matrix/vector2d.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/priority-queue/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/priority-queue/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/priority-queue/max-priority-queue.ts.html +6 -6
- package/coverage/lcov-report/src/data-structures/priority-queue/min-priority-queue.ts.html +3 -3
- package/coverage/lcov-report/src/data-structures/priority-queue/priority-queue.ts.html +32 -32
- package/coverage/lcov-report/src/data-structures/queue/deque.ts.html +5 -5
- package/coverage/lcov-report/src/data-structures/queue/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/queue/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/queue/queue.ts.html +2 -2
- package/coverage/lcov-report/src/data-structures/stack/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/stack/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/stack/stack.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/tree/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/tree/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/tree/tree.ts.html +2 -2
- package/coverage/lcov-report/src/data-structures/trie/index.html +1 -1
- package/coverage/lcov-report/src/data-structures/trie/index.ts.html +1 -1
- package/coverage/lcov-report/src/data-structures/trie/trie.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/interfaces/index.html +1 -1
- package/coverage/lcov-report/src/interfaces/index.ts.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/abstract-binary-tree.ts.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/bst.ts.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/directed-graph.ts.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/index.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/index.ts.html +1 -1
- package/coverage/lcov-report/src/types/data-structures/rb-tree.ts.html +1 -1
- package/coverage/lcov-report/src/types/index.html +1 -1
- package/coverage/lcov-report/src/types/index.ts.html +1 -1
- package/coverage/lcov-report/src/types/utils/index.html +1 -1
- package/coverage/lcov-report/src/types/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov-report/src/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/utils/utils.ts.html +4 -4
- package/coverage/lcov-report/test/utils/index.html +1 -1
- package/coverage/lcov-report/test/utils/index.ts.html +1 -1
- package/coverage/lcov-report/test/utils/magnitude.ts.html +1 -1
- package/coverage/lcov-report/test/utils/number.ts.html +1 -1
- package/coverage/lcov.info +1329 -1329
- package/dist/data-structures/binary-tree/abstract-binary-tree.js.map +1 -1
- package/dist/data-structures/binary-tree/avl-tree.js.map +1 -1
- package/dist/data-structures/binary-tree/binary-tree.js.map +1 -1
- package/dist/data-structures/binary-tree/bst.js.map +1 -1
- package/dist/data-structures/binary-tree/rb-tree.js.map +1 -1
- package/dist/data-structures/binary-tree/tree-multiset.js.map +1 -1
- package/dist/data-structures/graph/abstract-graph.js.map +1 -1
- package/dist/data-structures/graph/directed-graph.js.map +1 -1
- package/dist/data-structures/graph/map-graph.js.map +1 -1
- package/dist/data-structures/graph/undirected-graph.js.map +1 -1
- package/dist/data-structures/heap/heap.js.map +1 -1
- package/dist/data-structures/heap/max-heap.js.map +1 -1
- package/dist/data-structures/heap/min-heap.js.map +1 -1
- package/dist/data-structures/matrix/matrix.js.map +1 -1
- package/dist/data-structures/matrix/navigator.js.map +1 -1
- package/dist/data-structures/priority-queue/max-priority-queue.js.map +1 -1
- package/dist/data-structures/priority-queue/min-priority-queue.js.map +1 -1
- package/dist/data-structures/priority-queue/priority-queue.js.map +1 -1
- package/dist/data-structures/queue/deque.js.map +1 -1
- package/dist/data-structures/queue/queue.js.map +1 -1
- package/dist/data-structures/tree/tree.js.map +1 -1
- package/dist/utils/utils.js.map +1 -1
- package/docs/classes/AVLTree.html +85 -85
- package/docs/classes/AVLTreeNode.html +15 -15
- package/docs/classes/AaTree.html +1 -1
- package/docs/classes/AbstractBinaryTree.html +78 -78
- package/docs/classes/AbstractBinaryTreeNode.html +21 -21
- package/docs/classes/AbstractEdge.html +11 -11
- package/docs/classes/AbstractGraph.html +36 -36
- package/docs/classes/AbstractVertex.html +8 -8
- package/docs/classes/ArrayDeque.html +14 -14
- package/docs/classes/BST.html +78 -78
- package/docs/classes/BSTNode.html +15 -15
- package/docs/classes/BTree.html +1 -1
- package/docs/classes/BinaryIndexedTree.html +9 -9
- package/docs/classes/BinaryTree.html +71 -71
- package/docs/classes/BinaryTreeNode.html +15 -15
- package/docs/classes/Character.html +4 -4
- package/docs/classes/CoordinateMap.html +9 -9
- package/docs/classes/CoordinateSet.html +8 -8
- package/docs/classes/Deque.html +34 -34
- package/docs/classes/DirectedEdge.html +15 -15
- package/docs/classes/DirectedGraph.html +52 -52
- package/docs/classes/DirectedVertex.html +6 -6
- package/docs/classes/DoublyLinkedList.html +37 -37
- package/docs/classes/DoublyLinkedListNode.html +11 -11
- package/docs/classes/HashTable.html +1 -1
- package/docs/classes/Heap.html +26 -26
- package/docs/classes/HeapItem.html +8 -8
- package/docs/classes/LinkedListQueue.html +35 -35
- package/docs/classes/MapEdge.html +13 -13
- package/docs/classes/MapGraph.html +56 -56
- package/docs/classes/MapVertex.html +12 -12
- package/docs/classes/Matrix2D.html +16 -16
- package/docs/classes/MatrixNTI2D.html +4 -4
- package/docs/classes/MaxHeap.html +26 -26
- package/docs/classes/MaxPriorityQueue.html +34 -34
- package/docs/classes/MinHeap.html +26 -26
- package/docs/classes/MinPriorityQueue.html +34 -34
- package/docs/classes/Navigator.html +10 -10
- package/docs/classes/ObjectDeque.html +25 -25
- package/docs/classes/Pair.html +1 -1
- package/docs/classes/PriorityQueue.html +32 -32
- package/docs/classes/Queue.html +22 -22
- package/docs/classes/RBTree.html +78 -78
- package/docs/classes/RBTreeNode.html +18 -18
- package/docs/classes/SegmentTree.html +17 -17
- package/docs/classes/SegmentTreeNode.html +20 -20
- package/docs/classes/SinglyLinkedList.html +35 -35
- package/docs/classes/SinglyLinkedListNode.html +8 -8
- package/docs/classes/SkipLinkedList.html +1 -1
- package/docs/classes/SplayTree.html +1 -1
- package/docs/classes/Stack.html +12 -12
- package/docs/classes/TreeMap.html +1 -1
- package/docs/classes/TreeMultiset.html +99 -99
- package/docs/classes/TreeMultisetNode.html +18 -18
- package/docs/classes/TreeNode.html +13 -13
- package/docs/classes/TreeSet.html +1 -1
- package/docs/classes/Trie.html +13 -13
- package/docs/classes/TrieNode.html +11 -11
- package/docs/classes/TwoThreeTree.html +1 -1
- package/docs/classes/UndirectedEdge.html +12 -12
- package/docs/classes/UndirectedGraph.html +40 -40
- package/docs/classes/UndirectedVertex.html +6 -6
- package/docs/classes/Vector2D.html +28 -28
- package/docs/enums/CP.html +4 -4
- package/docs/enums/FamilyPosition.html +8 -8
- package/docs/enums/LoopType.html +3 -3
- package/docs/enums/RBColor.html +3 -3
- package/docs/enums/TopologicalProperty.html +4 -4
- package/docs/functions/arrayRemove.html +1 -1
- package/docs/functions/isThunk.html +1 -1
- package/docs/functions/toThunk.html +1 -1
- package/docs/functions/trampoline.html +1 -1
- package/docs/functions/trampolineAsync.html +1 -1
- package/docs/functions/uuidV4.html +1 -1
- package/docs/index.html +21 -26
- package/docs/interfaces/IAVLTree.html +77 -77
- package/docs/interfaces/IAbstractBinaryTree.html +72 -72
- package/docs/interfaces/IAbstractBinaryTreeNode.html +14 -14
- package/docs/interfaces/IAbstractGraph.html +15 -15
- package/docs/interfaces/IBST.html +77 -77
- package/docs/interfaces/IDirectedGraph.html +23 -23
- package/docs/interfaces/IRBTree.html +77 -77
- package/docs/interfaces/IUNDirectedGraph.html +16 -16
- package/docs/types/AVLTreeNodeNested.html +1 -1
- package/docs/types/AVLTreeOptions.html +1 -1
- package/docs/types/AbstractBinaryTreeNodeNested.html +1 -1
- package/docs/types/AbstractBinaryTreeNodeProperties.html +1 -1
- package/docs/types/AbstractBinaryTreeNodeProperty.html +1 -1
- package/docs/types/AbstractBinaryTreeOptions.html +1 -1
- package/docs/types/BSTComparator.html +1 -1
- package/docs/types/BSTNodeNested.html +1 -1
- package/docs/types/BSTOptions.html +1 -1
- package/docs/types/BinaryTreeDeletedResult.html +1 -1
- package/docs/types/BinaryTreeNodeId.html +1 -1
- package/docs/types/BinaryTreeNodeNested.html +1 -1
- package/docs/types/BinaryTreeNodePropertyName.html +1 -1
- package/docs/types/BinaryTreeOptions.html +1 -1
- package/docs/types/DFSOrderPattern.html +1 -1
- package/docs/types/DijkstraResult.html +1 -1
- package/docs/types/Direction.html +1 -1
- package/docs/types/DummyAny.html +1 -1
- package/docs/types/EdgeId.html +1 -1
- package/docs/types/HeapOptions.html +1 -1
- package/docs/types/IAVLTreeNode.html +1 -1
- package/docs/types/IBSTNode.html +1 -1
- package/docs/types/IBinaryTree.html +1 -1
- package/docs/types/IBinaryTreeNode.html +1 -1
- package/docs/types/IRBTreeNode.html +1 -1
- package/docs/types/ITreeMultiset.html +1 -1
- package/docs/types/ITreeMultisetNode.html +1 -1
- package/docs/types/KeyValueObject.html +1 -1
- package/docs/types/KeyValueObjectWithId.html +1 -1
- package/docs/types/MapGraphCoordinate.html +1 -1
- package/docs/types/NavigatorParams.html +1 -1
- package/docs/types/NodeOrPropertyName.html +1 -1
- package/docs/types/NonNumberNonObjectButDefined.html +1 -1
- package/docs/types/ObjectWithNonNumberId.html +1 -1
- package/docs/types/ObjectWithNumberId.html +1 -1
- package/docs/types/ObjectWithoutId.html +1 -1
- package/docs/types/PriorityQueueComparator.html +1 -1
- package/docs/types/PriorityQueueDFSOrderPattern.html +1 -1
- package/docs/types/PriorityQueueOptions.html +1 -1
- package/docs/types/RBTreeNodeNested.html +1 -1
- package/docs/types/RBTreeOptions.html +1 -1
- package/docs/types/RestrictValById.html +1 -1
- package/docs/types/SegmentTreeNodeVal.html +1 -1
- package/docs/types/SpecifyOptional.html +1 -1
- package/docs/types/Thunk.html +1 -1
- package/docs/types/ToThunkFn.html +1 -1
- package/docs/types/TopologicalStatus.html +1 -1
- package/docs/types/TreeMultisetNodeNested.html +1 -1
- package/docs/types/TreeMultisetOptions.html +1 -1
- package/docs/types/TrlAsyncFn.html +1 -1
- package/docs/types/TrlFn.html +1 -1
- package/docs/types/Turning.html +1 -1
- package/docs/types/VertexId.html +1 -1
- package/docs/variables/THUNK_SYMBOL.html +1 -1
- package/jest.config.js +1 -0
- package/package.json +18 -6
- package/.auto-changelog-template.hbs +0 -36
- package/rename_clear_files.sh +0 -29
- package/tsconfig.build.json +0 -33
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<ul class="tsd-hierarchy">
|
|
30
30
|
<li><a href="MapVertex.html" class="tsd-signature-type tsd-kind-class">MapVertex</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
|
|
31
31
|
<ul>
|
|
32
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
32
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/directed-graph.ts#L13">src/data-structures/graph/directed-graph.ts:13</a></li></ul></aside>
|
|
33
33
|
<section class="tsd-panel-group tsd-index-group">
|
|
34
34
|
<section class="tsd-panel tsd-index-panel">
|
|
35
35
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -77,7 +77,7 @@ vertex. If no value is provided, the vertex will be initialized with a default v
|
|
|
77
77
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
78
78
|
<p>Overrides <a href="AbstractVertex.html">AbstractVertex</a>.<a href="AbstractVertex.html#constructor">constructor</a></p>
|
|
79
79
|
<ul>
|
|
80
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
80
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/directed-graph.ts#L21">src/data-structures/graph/directed-graph.ts:21</a></li></ul></aside></li></ul></section></section>
|
|
81
81
|
<section class="tsd-panel-group tsd-member-group">
|
|
82
82
|
<h2>Accessors</h2>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
|
|
@@ -88,7 +88,7 @@ vertex. If no value is provided, the vertex will be initialized with a default v
|
|
|
88
88
|
<h4 class="tsd-returns-title">Returns <a href="../types/VertexId.html" class="tsd-signature-type tsd-kind-type-alias">VertexId</a></h4><aside class="tsd-sources">
|
|
89
89
|
<p>Inherited from AbstractVertex.id</p>
|
|
90
90
|
<ul>
|
|
91
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
91
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/abstract-graph.ts#L28">src/data-structures/graph/abstract-graph.ts:28</a></li></ul></aside></li>
|
|
92
92
|
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
93
93
|
<li class="tsd-description">
|
|
94
94
|
<div class="tsd-parameters">
|
|
@@ -99,7 +99,7 @@ vertex. If no value is provided, the vertex will be initialized with a default v
|
|
|
99
99
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
100
100
|
<p>Inherited from AbstractVertex.id</p>
|
|
101
101
|
<ul>
|
|
102
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
102
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/abstract-graph.ts#L32">src/data-structures/graph/abstract-graph.ts:32</a></li></ul></aside></li></ul></section>
|
|
103
103
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="val" class="tsd-anchor"></a>
|
|
104
104
|
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
105
105
|
<ul class="tsd-signatures tsd-is-inherited">
|
|
@@ -108,7 +108,7 @@ vertex. If no value is provided, the vertex will be initialized with a default v
|
|
|
108
108
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
|
|
109
109
|
<p>Inherited from AbstractVertex.val</p>
|
|
110
110
|
<ul>
|
|
111
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
111
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/abstract-graph.ts#L38">src/data-structures/graph/abstract-graph.ts:38</a></li></ul></aside></li>
|
|
112
112
|
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
113
113
|
<li class="tsd-description">
|
|
114
114
|
<div class="tsd-parameters">
|
|
@@ -119,7 +119,7 @@ vertex. If no value is provided, the vertex will be initialized with a default v
|
|
|
119
119
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
120
120
|
<p>Inherited from AbstractVertex.val</p>
|
|
121
121
|
<ul>
|
|
122
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
122
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/graph/abstract-graph.ts#L42">src/data-structures/graph/abstract-graph.ts:42</a></li></ul></aside></li></ul></section></section></div>
|
|
123
123
|
<div class="col-sidebar">
|
|
124
124
|
<div class="page-menu">
|
|
125
125
|
<div class="tsd-navigation settings">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="Deque.html" class="tsd-signature-type tsd-kind-class">Deque</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L51">src/data-structures/linked-list/doubly-linked-list.ts:51</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -93,24 +93,24 @@
|
|
|
93
93
|
<h4 class="tsd-returns-title">Returns <a href="DoublyLinkedList.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedList</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
94
94
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
95
95
|
<ul>
|
|
96
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
96
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L55">src/data-structures/linked-list/doubly-linked-list.ts:55</a></li></ul></aside></li></ul></section></section>
|
|
97
97
|
<section class="tsd-panel-group tsd-member-group">
|
|
98
98
|
<h2>Properties</h2>
|
|
99
99
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_head" class="tsd-anchor"></a>
|
|
100
100
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_head</span><a href="#_head" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
101
101
|
<div class="tsd-signature"><span class="tsd-kind-property">_head</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L61">src/data-structures/linked-list/doubly-linked-list.ts:61</a></li></ul></aside></section>
|
|
104
104
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_length" class="tsd-anchor"></a>
|
|
105
105
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_length</span><a href="#_length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
106
106
|
<div class="tsd-signature"><span class="tsd-kind-property">_length</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
107
107
|
<ul>
|
|
108
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
108
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L81">src/data-structures/linked-list/doubly-linked-list.ts:81</a></li></ul></aside></section>
|
|
109
109
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_tail" class="tsd-anchor"></a>
|
|
110
110
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_tail</span><a href="#_tail" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
111
111
|
<div class="tsd-signature"><span class="tsd-kind-property">_tail</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
112
112
|
<ul>
|
|
113
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
113
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L71">src/data-structures/linked-list/doubly-linked-list.ts:71</a></li></ul></aside></section></section>
|
|
114
114
|
<section class="tsd-panel-group tsd-member-group">
|
|
115
115
|
<h2>Accessors</h2>
|
|
116
116
|
<section class="tsd-panel tsd-member"><a id="head" class="tsd-anchor"></a>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<li class="tsd-description">
|
|
121
121
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L63">src/data-structures/linked-list/doubly-linked-list.ts:63</a></li></ul></aside></li>
|
|
124
124
|
<li class="tsd-signature" id="head.head-2"><span class="tsd-signature-symbol">set</span> head<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
125
125
|
<li class="tsd-description">
|
|
126
126
|
<div class="tsd-parameters">
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
131
131
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
132
132
|
<ul>
|
|
133
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
133
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L67">src/data-structures/linked-list/doubly-linked-list.ts:67</a></li></ul></aside></li></ul></section>
|
|
134
134
|
<section class="tsd-panel tsd-member"><a id="length" class="tsd-anchor"></a>
|
|
135
135
|
<h3 class="tsd-anchor-link"><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
136
136
|
<ul class="tsd-signatures">
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<li class="tsd-description">
|
|
139
139
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
140
140
|
<ul>
|
|
141
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
141
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L83">src/data-structures/linked-list/doubly-linked-list.ts:83</a></li></ul></aside></li></ul></section>
|
|
142
142
|
<section class="tsd-panel tsd-member"><a id="tail" class="tsd-anchor"></a>
|
|
143
143
|
<h3 class="tsd-anchor-link"><span>tail</span><a href="#tail" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
144
144
|
<ul class="tsd-signatures">
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<li class="tsd-description">
|
|
147
147
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
148
148
|
<ul>
|
|
149
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
149
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L73">src/data-structures/linked-list/doubly-linked-list.ts:73</a></li></ul></aside></li>
|
|
150
150
|
<li class="tsd-signature" id="tail.tail-2"><span class="tsd-signature-symbol">set</span> tail<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
151
151
|
<li class="tsd-description">
|
|
152
152
|
<div class="tsd-parameters">
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
157
157
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
158
158
|
<ul>
|
|
159
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
159
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L77">src/data-structures/linked-list/doubly-linked-list.ts:77</a></li></ul></aside></li></ul></section></section>
|
|
160
160
|
<section class="tsd-panel-group tsd-member-group">
|
|
161
161
|
<h2>Methods</h2>
|
|
162
162
|
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
170
170
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
171
171
|
<ul>
|
|
172
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
172
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L332">src/data-structures/linked-list/doubly-linked-list.ts:332</a></li></ul></aside></li></ul></section>
|
|
173
173
|
<section class="tsd-panel tsd-member"><a id="delete" class="tsd-anchor"></a>
|
|
174
174
|
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
175
175
|
<ul class="tsd-signatures">
|
|
@@ -191,7 +191,7 @@ deleted from the doubly linked list, and <code>false</code> if the value or node
|
|
|
191
191
|
|
|
192
192
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
193
193
|
<ul>
|
|
194
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
194
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L279">src/data-structures/linked-list/doubly-linked-list.ts:279</a></li></ul></aside></li>
|
|
195
195
|
<li class="tsd-signature tsd-anchor-link" id="delete.delete-2"><span class="tsd-kind-call-signature">delete</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">valOrNode</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#delete.delete-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
196
196
|
<li class="tsd-description">
|
|
197
197
|
<div class="tsd-comment tsd-typography"><p>The <code>delete</code> function removes a node from a doubly linked list based on either the node itself or its value.</p>
|
|
@@ -210,7 +210,7 @@ deleted from the doubly linked list, and <code>false</code> if the value or node
|
|
|
210
210
|
|
|
211
211
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
212
212
|
<ul>
|
|
213
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
213
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L280">src/data-structures/linked-list/doubly-linked-list.ts:280</a></li></ul></aside></li></ul></section>
|
|
214
214
|
<section class="tsd-panel tsd-member"><a id="deleteAt" class="tsd-anchor"></a>
|
|
215
215
|
<h3 class="tsd-anchor-link"><span>delete<wbr/>At</span><a href="#deleteAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
216
216
|
<ul class="tsd-signatures">
|
|
@@ -232,7 +232,7 @@ bounds.</p>
|
|
|
232
232
|
|
|
233
233
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
234
234
|
<ul>
|
|
235
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
235
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L265">src/data-structures/linked-list/doubly-linked-list.ts:265</a></li></ul></aside></li></ul></section>
|
|
236
236
|
<section class="tsd-panel tsd-member"><a id="filter" class="tsd-anchor"></a>
|
|
237
237
|
<h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
238
238
|
<ul class="tsd-signatures">
|
|
@@ -265,7 +265,7 @@ It is used to determine whether a value should be included in the filtered list
|
|
|
265
265
|
|
|
266
266
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
267
267
|
<ul>
|
|
268
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
268
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L463">src/data-structures/linked-list/doubly-linked-list.ts:463</a></li></ul></aside></li></ul></section>
|
|
269
269
|
<section class="tsd-panel tsd-member"><a id="find" class="tsd-anchor"></a>
|
|
270
270
|
<h3 class="tsd-anchor-link"><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
271
271
|
<ul class="tsd-signatures">
|
|
@@ -298,7 +298,7 @@ the callback function. If no element satisfies the condition, it returns <code>n
|
|
|
298
298
|
|
|
299
299
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
300
300
|
<ul>
|
|
301
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
301
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L345">src/data-structures/linked-list/doubly-linked-list.ts:345</a></li></ul></aside></li></ul></section>
|
|
302
302
|
<section class="tsd-panel tsd-member"><a id="findLast" class="tsd-anchor"></a>
|
|
303
303
|
<h3 class="tsd-anchor-link"><span>find<wbr/>Last</span><a href="#findLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
304
304
|
<ul class="tsd-signatures">
|
|
@@ -332,7 +332,7 @@ the callback function. If no value satisfies the condition, it returns <code>nul
|
|
|
332
332
|
|
|
333
333
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
334
334
|
<ul>
|
|
335
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
335
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L384">src/data-structures/linked-list/doubly-linked-list.ts:384</a></li></ul></aside></li></ul></section>
|
|
336
336
|
<section class="tsd-panel tsd-member"><a id="findNode" class="tsd-anchor"></a>
|
|
337
337
|
<h3 class="tsd-anchor-link"><span>find<wbr/>Node</span><a href="#findNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
338
338
|
<ul class="tsd-signatures">
|
|
@@ -354,7 +354,7 @@ is found in the linked list. If no such node is found, it returns <code>null</co
|
|
|
354
354
|
|
|
355
355
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
356
356
|
<ul>
|
|
357
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
357
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L214">src/data-structures/linked-list/doubly-linked-list.ts:214</a></li></ul></aside></li></ul></section>
|
|
358
358
|
<section class="tsd-panel tsd-member"><a id="forEach" class="tsd-anchor"></a>
|
|
359
359
|
<h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
360
360
|
<ul class="tsd-signatures">
|
|
@@ -388,7 +388,7 @@ current node in the linked list.</p>
|
|
|
388
388
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
389
389
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
390
390
|
<ul>
|
|
391
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
391
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L428">src/data-structures/linked-list/doubly-linked-list.ts:428</a></li></ul></aside></li></ul></section>
|
|
392
392
|
<section class="tsd-panel tsd-member"><a id="getAt" class="tsd-anchor"></a>
|
|
393
393
|
<h3 class="tsd-anchor-link"><span>get<wbr/>At</span><a href="#getAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
394
394
|
<ul class="tsd-signatures">
|
|
@@ -410,7 +410,7 @@ or the linked list is empty, it will return null.</p>
|
|
|
410
410
|
|
|
411
411
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
412
412
|
<ul>
|
|
413
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
413
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L181">src/data-structures/linked-list/doubly-linked-list.ts:181</a></li></ul></aside></li></ul></section>
|
|
414
414
|
<section class="tsd-panel tsd-member"><a id="getNodeAt" class="tsd-anchor"></a>
|
|
415
415
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Node<wbr/>At</span><a href="#getNodeAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
416
416
|
<ul class="tsd-signatures">
|
|
@@ -433,7 +433,7 @@ valid range of the linked list, otherwise it returns <code>null</code>.</p>
|
|
|
433
433
|
|
|
434
434
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
435
435
|
<ul>
|
|
436
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
436
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L198">src/data-structures/linked-list/doubly-linked-list.ts:198</a></li></ul></aside></li></ul></section>
|
|
437
437
|
<section class="tsd-panel tsd-member"><a id="indexOf" class="tsd-anchor"></a>
|
|
438
438
|
<h3 class="tsd-anchor-link"><span>index<wbr/>Of</span><a href="#indexOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
439
439
|
<ul class="tsd-signatures">
|
|
@@ -455,7 +455,7 @@ list. If the value is not found, it returns -1.</p>
|
|
|
455
455
|
|
|
456
456
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
457
457
|
<ul>
|
|
458
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
458
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L363">src/data-structures/linked-list/doubly-linked-list.ts:363</a></li></ul></aside></li></ul></section>
|
|
459
459
|
<section class="tsd-panel tsd-member"><a id="insertAfter" class="tsd-anchor"></a>
|
|
460
460
|
<h3 class="tsd-anchor-link"><span>insert<wbr/>After</span><a href="#insertAfter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
461
461
|
<ul class="tsd-signatures">
|
|
@@ -483,7 +483,7 @@ existing value or node is not found in the doubly linked list.</p>
|
|
|
483
483
|
|
|
484
484
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
485
485
|
<ul>
|
|
486
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
486
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L495">src/data-structures/linked-list/doubly-linked-list.ts:495</a></li></ul></aside></li>
|
|
487
487
|
<li class="tsd-signature tsd-anchor-link" id="insertAfter.insertAfter-2"><span class="tsd-kind-call-signature">insert<wbr/>After</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">existingValueOrNode</span>, <span class="tsd-kind-parameter">newValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#insertAfter.insertAfter-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
488
488
|
<li class="tsd-description">
|
|
489
489
|
<div class="tsd-comment tsd-typography"><p>The <code>insertAfter</code> function inserts a new node with a given value after an existing node in a doubly linked list.</p>
|
|
@@ -508,7 +508,7 @@ existing value or node is not found in the doubly linked list.</p>
|
|
|
508
508
|
|
|
509
509
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
510
510
|
<ul>
|
|
511
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
511
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L496">src/data-structures/linked-list/doubly-linked-list.ts:496</a></li></ul></aside></li></ul></section>
|
|
512
512
|
<section class="tsd-panel tsd-member"><a id="insertAt" class="tsd-anchor"></a>
|
|
513
513
|
<h3 class="tsd-anchor-link"><span>insert<wbr/>At</span><a href="#insertAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
514
514
|
<ul class="tsd-signatures">
|
|
@@ -536,7 +536,7 @@ if the index is out of bounds.</p>
|
|
|
536
536
|
|
|
537
537
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
538
538
|
<ul>
|
|
539
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
539
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L236">src/data-structures/linked-list/doubly-linked-list.ts:236</a></li></ul></aside></li></ul></section>
|
|
540
540
|
<section class="tsd-panel tsd-member"><a id="insertBefore" class="tsd-anchor"></a>
|
|
541
541
|
<h3 class="tsd-anchor-link"><span>insert<wbr/>Before</span><a href="#insertBefore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
542
542
|
<ul class="tsd-signatures">
|
|
@@ -565,7 +565,7 @@ insertion fails.</p>
|
|
|
565
565
|
|
|
566
566
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
567
567
|
<ul>
|
|
568
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
568
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L534">src/data-structures/linked-list/doubly-linked-list.ts:534</a></li></ul></aside></li>
|
|
569
569
|
<li class="tsd-signature tsd-anchor-link" id="insertBefore.insertBefore-2"><span class="tsd-kind-call-signature">insert<wbr/>Before</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">existingValueOrNode</span>, <span class="tsd-kind-parameter">newValue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#insertBefore.insertBefore-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
570
570
|
<li class="tsd-description">
|
|
571
571
|
<div class="tsd-comment tsd-typography"><p>The <code>insertBefore</code> function inserts a new value before an existing value or node in a doubly linked list.</p>
|
|
@@ -591,7 +591,7 @@ insertion fails.</p>
|
|
|
591
591
|
|
|
592
592
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
593
593
|
<ul>
|
|
594
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
594
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L535">src/data-structures/linked-list/doubly-linked-list.ts:535</a></li></ul></aside></li></ul></section>
|
|
595
595
|
<section class="tsd-panel tsd-member"><a id="map" class="tsd-anchor"></a>
|
|
596
596
|
<h3 class="tsd-anchor-link"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
597
597
|
<ul class="tsd-signatures">
|
|
@@ -630,7 +630,7 @@ DoublyLinkedList).</p>
|
|
|
630
630
|
|
|
631
631
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
632
632
|
<ul>
|
|
633
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
633
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L446">src/data-structures/linked-list/doubly-linked-list.ts:446</a></li></ul></aside></li></ul></section>
|
|
634
634
|
<section class="tsd-panel tsd-member"><a id="pop" class="tsd-anchor"></a>
|
|
635
635
|
<h3 class="tsd-anchor-link"><span>pop</span><a href="#pop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
636
636
|
<ul class="tsd-signatures">
|
|
@@ -643,7 +643,7 @@ list is empty, it returns null.</p>
|
|
|
643
643
|
|
|
644
644
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
645
645
|
<ul>
|
|
646
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
646
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L123">src/data-structures/linked-list/doubly-linked-list.ts:123</a></li></ul></aside></li></ul></section>
|
|
647
647
|
<section class="tsd-panel tsd-member"><a id="push" class="tsd-anchor"></a>
|
|
648
648
|
<h3 class="tsd-anchor-link"><span>push</span><a href="#push" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
649
649
|
<ul class="tsd-signatures">
|
|
@@ -662,7 +662,7 @@ list is empty, it returns null.</p>
|
|
|
662
662
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
663
663
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
664
664
|
<ul>
|
|
665
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
665
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L105">src/data-structures/linked-list/doubly-linked-list.ts:105</a></li></ul></aside></li></ul></section>
|
|
666
666
|
<section class="tsd-panel tsd-member"><a id="reduce" class="tsd-anchor"></a>
|
|
667
667
|
<h3 class="tsd-anchor-link"><span>reduce</span><a href="#reduce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
668
668
|
<ul class="tsd-signatures">
|
|
@@ -709,7 +709,7 @@ elements in the linked list.</p>
|
|
|
709
709
|
|
|
710
710
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
711
711
|
<ul>
|
|
712
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
712
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L485">src/data-structures/linked-list/doubly-linked-list.ts:485</a></li></ul></aside></li></ul></section>
|
|
713
713
|
<section class="tsd-panel tsd-member"><a id="reverse" class="tsd-anchor"></a>
|
|
714
714
|
<h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
715
715
|
<ul class="tsd-signatures">
|
|
@@ -720,7 +720,7 @@ elements in the linked list.</p>
|
|
|
720
720
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
721
721
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
722
722
|
<ul>
|
|
723
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
723
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L412">src/data-structures/linked-list/doubly-linked-list.ts:412</a></li></ul></aside></li></ul></section>
|
|
724
724
|
<section class="tsd-panel tsd-member"><a id="shift" class="tsd-anchor"></a>
|
|
725
725
|
<h3 class="tsd-anchor-link"><span>shift</span><a href="#shift" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
726
726
|
<ul class="tsd-signatures">
|
|
@@ -733,7 +733,7 @@ list.</p>
|
|
|
733
733
|
|
|
734
734
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
735
735
|
<ul>
|
|
736
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
736
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L142">src/data-structures/linked-list/doubly-linked-list.ts:142</a></li></ul></aside></li></ul></section>
|
|
737
737
|
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
|
|
738
738
|
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
739
739
|
<ul class="tsd-signatures">
|
|
@@ -745,7 +745,7 @@ list.</p>
|
|
|
745
745
|
|
|
746
746
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
747
747
|
<ul>
|
|
748
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
748
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L319">src/data-structures/linked-list/doubly-linked-list.ts:319</a></li></ul></aside></li></ul></section>
|
|
749
749
|
<section class="tsd-panel tsd-member"><a id="toArrayReverse" class="tsd-anchor"></a>
|
|
750
750
|
<h3 class="tsd-anchor-link"><span>to<wbr/>Array<wbr/>Reverse</span><a href="#toArrayReverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
751
751
|
<ul class="tsd-signatures">
|
|
@@ -757,7 +757,7 @@ list.</p>
|
|
|
757
757
|
|
|
758
758
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
759
759
|
<ul>
|
|
760
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
760
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L399">src/data-structures/linked-list/doubly-linked-list.ts:399</a></li></ul></aside></li></ul></section>
|
|
761
761
|
<section class="tsd-panel tsd-member"><a id="unshift" class="tsd-anchor"></a>
|
|
762
762
|
<h3 class="tsd-anchor-link"><span>unshift</span><a href="#unshift" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
763
763
|
<ul class="tsd-signatures">
|
|
@@ -777,7 +777,7 @@ doubly linked list.</p>
|
|
|
777
777
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
778
778
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
779
779
|
<ul>
|
|
780
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
780
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L161">src/data-structures/linked-list/doubly-linked-list.ts:161</a></li></ul></aside></li></ul></section>
|
|
781
781
|
<section class="tsd-panel tsd-member"><a id="fromArray" class="tsd-anchor"></a>
|
|
782
782
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Array</span><a href="#fromArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
783
783
|
<ul class="tsd-signatures">
|
|
@@ -803,7 +803,7 @@ given array.</p>
|
|
|
803
803
|
|
|
804
804
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
805
805
|
<ul>
|
|
806
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
806
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L93">src/data-structures/linked-list/doubly-linked-list.ts:93</a></li></ul></aside></li></ul></section></section></div>
|
|
807
807
|
<div class="col-sidebar">
|
|
808
808
|
<div class="page-menu">
|
|
809
809
|
<div class="tsd-navigation settings">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<ul class="tsd-hierarchy">
|
|
36
36
|
<li><span class="target">DoublyLinkedListNode</span></li></ul></section><aside class="tsd-sources">
|
|
37
37
|
<ul>
|
|
38
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
38
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L8">src/data-structures/linked-list/doubly-linked-list.ts:8</a></li></ul></aside>
|
|
39
39
|
<section class="tsd-panel-group tsd-index-group">
|
|
40
40
|
<section class="tsd-panel tsd-index-panel">
|
|
41
41
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -83,24 +83,24 @@ is defined as a generic type "T".</p>
|
|
|
83
83
|
<h4 class="tsd-returns-title">Returns <a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
84
84
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
85
85
|
<ul>
|
|
86
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
86
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L14">src/data-structures/linked-list/doubly-linked-list.ts:14</a></li></ul></aside></li></ul></section></section>
|
|
87
87
|
<section class="tsd-panel-group tsd-member-group">
|
|
88
88
|
<h2>Properties</h2>
|
|
89
89
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_next" class="tsd-anchor"></a>
|
|
90
90
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_next</span><a href="#_next" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
91
91
|
<div class="tsd-signature"><span class="tsd-kind-property">_next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
92
92
|
<ul>
|
|
93
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
93
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L30">src/data-structures/linked-list/doubly-linked-list.ts:30</a></li></ul></aside></section>
|
|
94
94
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_prev" class="tsd-anchor"></a>
|
|
95
95
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_prev</span><a href="#_prev" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
96
96
|
<div class="tsd-signature"><span class="tsd-kind-property">_prev</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
97
97
|
<ul>
|
|
98
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
98
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L40">src/data-structures/linked-list/doubly-linked-list.ts:40</a></li></ul></aside></section>
|
|
99
99
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_val" class="tsd-anchor"></a>
|
|
100
100
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_val</span><a href="#_val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
101
101
|
<div class="tsd-signature"><span class="tsd-kind-property">_val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L20">src/data-structures/linked-list/doubly-linked-list.ts:20</a></li></ul></aside></section></section>
|
|
104
104
|
<section class="tsd-panel-group tsd-member-group">
|
|
105
105
|
<h2>Accessors</h2>
|
|
106
106
|
<section class="tsd-panel tsd-member"><a id="next" class="tsd-anchor"></a>
|
|
@@ -110,7 +110,7 @@ is defined as a generic type "T".</p>
|
|
|
110
110
|
<li class="tsd-description">
|
|
111
111
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
112
112
|
<ul>
|
|
113
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
113
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L32">src/data-structures/linked-list/doubly-linked-list.ts:32</a></li></ul></aside></li>
|
|
114
114
|
<li class="tsd-signature" id="next.next-2"><span class="tsd-signature-symbol">set</span> next<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
115
115
|
<li class="tsd-description">
|
|
116
116
|
<div class="tsd-parameters">
|
|
@@ -120,7 +120,7 @@ is defined as a generic type "T".</p>
|
|
|
120
120
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
121
121
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L36">src/data-structures/linked-list/doubly-linked-list.ts:36</a></li></ul></aside></li></ul></section>
|
|
124
124
|
<section class="tsd-panel tsd-member"><a id="prev" class="tsd-anchor"></a>
|
|
125
125
|
<h3 class="tsd-anchor-link"><span>prev</span><a href="#prev" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
126
126
|
<ul class="tsd-signatures">
|
|
@@ -128,7 +128,7 @@ is defined as a generic type "T".</p>
|
|
|
128
128
|
<li class="tsd-description">
|
|
129
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
130
130
|
<ul>
|
|
131
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
131
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L42">src/data-structures/linked-list/doubly-linked-list.ts:42</a></li></ul></aside></li>
|
|
132
132
|
<li class="tsd-signature" id="prev.prev-2"><span class="tsd-signature-symbol">set</span> prev<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
133
133
|
<li class="tsd-description">
|
|
134
134
|
<div class="tsd-parameters">
|
|
@@ -138,7 +138,7 @@ is defined as a generic type "T".</p>
|
|
|
138
138
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
|
139
139
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
140
140
|
<ul>
|
|
141
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
141
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L46">src/data-structures/linked-list/doubly-linked-list.ts:46</a></li></ul></aside></li></ul></section>
|
|
142
142
|
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
|
|
143
143
|
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
144
144
|
<ul class="tsd-signatures">
|
|
@@ -146,7 +146,7 @@ is defined as a generic type "T".</p>
|
|
|
146
146
|
<li class="tsd-description">
|
|
147
147
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
|
|
148
148
|
<ul>
|
|
149
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
149
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L22">src/data-structures/linked-list/doubly-linked-list.ts:22</a></li></ul></aside></li>
|
|
150
150
|
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
151
151
|
<li class="tsd-description">
|
|
152
152
|
<div class="tsd-parameters">
|
|
@@ -156,7 +156,7 @@ is defined as a generic type "T".</p>
|
|
|
156
156
|
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
|
|
157
157
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
158
158
|
<ul>
|
|
159
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
159
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/linked-list/doubly-linked-list.ts#L26">src/data-structures/linked-list/doubly-linked-list.ts:26</a></li></ul></aside></li></ul></section></section></div>
|
|
160
160
|
<div class="col-sidebar">
|
|
161
161
|
<div class="page-menu">
|
|
162
162
|
<div class="tsd-navigation settings">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">HashTable</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/9b5f2b2/src/data-structures/hash/hash-table.ts#L1">src/data-structures/hash/hash-table.ts:1</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|