2022-04-10 21:27:56 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace C_.Datastructures.Generic
|
2022-03-31 20:23:49 +00:00
|
|
|
|
{
|
2022-04-04 20:15:12 +00:00
|
|
|
|
abstract internal class UndirectedNode<T, NodeType>
|
2022-03-31 20:27:31 +00:00
|
|
|
|
{//Generic Node type that every other type inherits from
|
2022-03-31 20:23:49 +00:00
|
|
|
|
public T? Value { get; set; } = default;
|
2022-04-13 20:12:18 +00:00
|
|
|
|
internal NodeType? Next { get; set; } = default;
|
2022-03-31 20:23:49 +00:00
|
|
|
|
}
|
|
|
|
|
}
|