public void addLast(E element) {

		LinkedElement<E> elem = new LinkedElement<E>(element);

		elem.setPrev(last);
		elem.setNext(null);

		if (total == 0) {
			first = elem;
		}
		if (total > 0) {
			last.setNext(elem);
		}
		last = elem;
		total++;
	}