addLast


Description:

public void addLast (owned T element)

Adds an element to the end of the list.

Example:

    var list = new LinkedList<string> (GLib.str_equal);
list.addLast ("a");
list.addLast ("b");
assert (list.peekLast () == "b");

Parameters:

element

the element to add.