Someone
public text v1 · immutable /**
* Inserts the given element at the end of this list.
*/
public void addLast(T element) {
if(size==0) {
last = new ListElement<T>(element);
} else {
ListElement<T> tmp = last;
last = new ListElement<T>(element);
tmp.next = last;
}
size++;
}