Unnamed
public text v1 · immutable /**
* Removes and returns the first element from this list.
* Returns <code>null</code> if the list is empty.
*/
public T removeFirst() {
if(size==0) {
return null;
} else {
T tmp = first;
first = ListElement.next; // REMOVE HERE!!!
return tmp;
}