addAll


Description:

public void addAll (ArrayList<T> other)

Adds all elements from another ArrayList to the end of this list.

Example:

    var list1 = new ArrayList<string> (GLib.str_equal);
list1.add ("a");
var list2 = new ArrayList<string> (GLib.str_equal);
list2.add ("b");
list1.addAll (list2);
assert (list1.size () == 2);

Parameters:

other

the ArrayList whose elements are added.