15 lines
325 B
C#
15 lines
325 B
C#
namespace C_.Datastructures.Nodes
|
|
{
|
|
internal class QueueNode<T> : Node<T, QueueNode<T>>
|
|
{
|
|
public static QueueNode<T> Create(T? value, QueueNode<T>? next)
|
|
{
|
|
return new QueueNode<T>
|
|
{
|
|
Value = value,
|
|
Next = next
|
|
};
|
|
}
|
|
}
|
|
}
|