Updated Repo Layout

This commit is contained in:
Luke Else 2022-04-01 22:02:39 +01:00
parent 88d84ab448
commit e5fa390608
9 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes;
namespace C_.Datastructures
namespace C_.Datastructures.DoublyLinkedList
{
public class DoublyLinkedList<T>
{

View File

@ -1,4 +1,6 @@
namespace C_.Datastructures.Nodes
using C_.Datastructures.Generic;
namespace C_.Datastructures.DoublyLinkedList
{
internal class DoublyLinkedListNode<T> : Node<T, DoublyLinkedListNode<T>>
{//Inherits from Node

View File

@ -1,4 +1,4 @@
namespace C_.Datastructures.Nodes
namespace C_.Datastructures.Generic
{
internal class Node<T, NodeType>
{//Generic Node type that every other type inherits from

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes;
namespace C_.Datastructures
namespace C_.Datastructures.LinkedList
{
public class LinkedList<T>
{

View File

@ -1,4 +1,6 @@
namespace C_.Datastructures.Nodes
using C_.Datastructures.Generic;
namespace C_.Datastructures.LinkedList
{
internal class LinkedListNode<T> : Node<T, LinkedListNode<T>>
{//Inherits from Node

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes;
namespace C_.Datastructures
namespace C_.Datastructures.Queue
{
internal class Queue<T>
{

View File

@ -1,4 +1,6 @@
namespace C_.Datastructures.Nodes
using C_.Datastructures.Generic;
namespace C_.Datastructures.Queue
{
internal class QueueNode<T> : Node<T, QueueNode<T>>
{

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes;
namespace C_.Datastructures
namespace C_.Datastructures.Stack
{
public class Stack<T>
{

View File

@ -1,4 +1,6 @@
namespace C_.Datastructures.Nodes
using C_.Datastructures.Generic;
namespace C_.Datastructures.Stack
{
internal class StackNode<T> : Node<T, StackNode<T>>
{//Inherits from Node