Separeted Generic Nodes (Directed and Undirected)

This commit is contained in:
2022-04-02 21:22:20 +01:00
parent e5fa390608
commit 78df73e66d
6 changed files with 20 additions and 5 deletions

View File

@ -2,7 +2,7 @@
namespace C_.Datastructures.DoublyLinkedList
{
internal class DoublyLinkedListNode<T> : Node<T, DoublyLinkedListNode<T>>
internal class DoublyLinkedListNode<T> : UndirectedNode<T, DoublyLinkedListNode<T>>
{//Inherits from Node
public DoublyLinkedListNode<T>? Prev { get; set; } = default;