/*
 * Li.cpp
 *
 *  Created on: 24.11.2009
 *      Author: sep
 */

#include "Li.h"

Li::Li() {
	isEmpty = true;
}
Li::Li(std::string hd,Li* tl) :hd(hd),tl(tl),isEmpty(false)  {
//	this->hd = hd;
//	this->tl = tl;
// 	this->isEmpty=false;
}

Li::~Li() {
	if (!this->isEmpty){
		delete this->tl;
	}
}


