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);
the element to add.