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 @@ using C_.Datastructures.Generic;
namespace C_.Datastructures.Stack
{
internal class StackNode<T> : Node<T, StackNode<T>>
internal class StackNode<T> : UndirectedNode<T, StackNode<T>>
{//Inherits from Node
public static StackNode<T> Create(T? value, StackNode<T>? next)
{