Removes and returns the first element. Returns null if the list is empty.
Example:
var list = new LinkedList<string> (GLib.str_equal);
list.addLast ("a");
list.addLast ("b");
assert (list.removeFirst () == "a");
assert (list.size () == 1);
|
the first element, or null if empty. |