Declared all nodes to be internal
This commit is contained in:
@ -9,7 +9,7 @@ namespace C_.Datastructures.Generic
|
||||
abstract internal class DirectedNode<T, NodeType>
|
||||
{
|
||||
public T? Value { get; set; } = default;
|
||||
public NodeType? Left { get; set; } = default;
|
||||
public NodeType? Right { get; set; } = default;
|
||||
internal NodeType? Left { get; set; } = default;
|
||||
internal NodeType? Right { get; set; } = default;
|
||||
}
|
||||
}
|
@ -5,6 +5,6 @@ namespace C_.Datastructures.Generic
|
||||
abstract internal class UndirectedNode<T, NodeType>
|
||||
{//Generic Node type that every other type inherits from
|
||||
public T? Value { get; set; } = default;
|
||||
public NodeType? Next { get; set; } = default;
|
||||
internal NodeType? Next { get; set; } = default;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user