Declared all nodes to be internal

This commit is contained in:
2022-04-13 21:12:18 +01:00
parent cb09f165f8
commit 9fab683f85
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ namespace C_.Datastructures.DoublyLinkedList
{
internal class DoublyLinkedListNode<T> : UndirectedNode<T, DoublyLinkedListNode<T>>
{//Inherits from Node
public DoublyLinkedListNode<T>? Prev { get; set; } = default;
internal DoublyLinkedListNode<T>? Prev { get; set; } = default;
public static DoublyLinkedListNode<T> Create(T? value, DoublyLinkedListNode<T>? next, DoublyLinkedListNode<T>? prev)
{