#include "NodeInt.h"

NodeInt::NodeInt(int val, NodeInt* next){
    this->val = val;
    this->next = next;
}

int NodeInt::getInt(){
    return this->val;
}

void NodeInt::setInt(int i){
    this->val=i;
}

NodeInt* NodeInt::getNext(){
    return this->next;
}
void NodeInt::setNext(NodeInt* next){
    this->next=next;
}
