Separeted Generic Nodes (Directed and Undirected)
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user