Generic Node Creation #13

Closed
opened 2022-03-29 15:26:41 +00:00 by luke-else · 2 comments
Owner

To reduce the number of re-implementations of the node we could have it so that there is a generic definition of the node that is inherited off of by each datastructures unique node (If Needed)

string T value
Node next

To reduce the number of re-implementations of the node we could have it so that there is a generic definition of the node that is inherited off of by each datastructures unique node (If Needed) string T value Node next
luke-else self-assigned this 2022-03-29 15:26:41 +00:00
luke-else added this to the C# project 2022-03-29 15:26:41 +00:00
Author
Owner

need to find a way to set Next node to be the same type as the current node if we use a single node to inherit from.

Node<T, t> ????

need to find a way to set Next node to be the same type as the current node if we use a single node to inherit from. Node<T, t> ????
Author
Owner

LinkedListNode<T>:Node<T, LinkedListNode<T>>

`LinkedListNode<T>:Node<T, LinkedListNode<T>>`
luke-else added the
enhancement
label 2022-11-07 11:57:48 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: luke-else/DataStructuresCSharp#13
No description provided.