add


Description:

public void add (owned T element)

Adds an element to the end of the list.

Example:

    var list = new ArrayList<string> (GLib.str_equal);
list.add ("hello");
assert (list.size () == 1);

Parameters:

element

the element to add.