#ifndef NODE_CPP
#define NODE_CPP

#include "Node.h"


template <class Type> Node<Type>::Node(Type val, Node<Type>* next){
    this->val = val;
    this->next = next;
}


template <class Type>
Type Node<Type>::getVal(){
    return this->val;
}

template <class Type>
void Node<Type>::setVal(Type i){
    this->val=i;
}

template <class Type>
Node<Type>* Node<Type>::getNext(){
    return this->next;
}

template <class Type>
void Node<Type>::setNext(Node<Type>* next){
    this->next=next;
}
#endif
