DataStructuresCSharp/C#/Datastructures/Nodes/QueueNode.cs
2022-03-31 22:13:13 +01:00

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
};
}
}
}