addLast


Description:

public void addLast (owned T element)

Adds an element to the end of the deque.

Example:

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

Parameters:

element

the element to add.