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.DoublyLinkedList
namespace C_.Datastructures
{ {
public class DoublyLinkedList<T> 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>> internal class DoublyLinkedListNode<T> : Node<T, DoublyLinkedListNode<T>>
{//Inherits from Node {//Inherits from Node

View File

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

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes; namespace C_.Datastructures.LinkedList
namespace C_.Datastructures
{ {
public class LinkedList<T> 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>> internal class LinkedListNode<T> : Node<T, LinkedListNode<T>>
{//Inherits from Node {//Inherits from Node

View File

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

View File

@ -1,6 +1,4 @@
using C_.Datastructures.Nodes; namespace C_.Datastructures.Stack
namespace C_.Datastructures
{ {
public class Stack<T> 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>> internal class StackNode<T> : Node<T, StackNode<T>>
{//Inherits from Node {//Inherits from Node