2022-04-02 20:22:20 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace C_.Datastructures.Generic
|
|
|
|
|
{
|
2022-04-04 20:15:12 +00:00
|
|
|
|
abstract internal class DirectedNode<T, NodeType>
|
2022-04-02 20:22:20 +00:00
|
|
|
|
{
|
|
|
|
|
public T? Value { get; set; } = default;
|
2022-04-13 20:12:18 +00:00
|
|
|
|
internal NodeType? Left { get; set; } = default;
|
|
|
|
|
internal NodeType? Right { get; set; } = default;
|
2022-04-02 20:22:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|