klyn.collections.ArrayList.addAll
method

    public native addAll(values as IList<T>) as Void

Description

Appends every element from a read-only list.

`addAll` is a range operation; `add` remains the operation that appends exactly one element, even when that element is itself a list.

Parameters

Parameter | Description
--- | ---
`values` | Elements appended in iteration order.

Example

    import klyn.collections

    data = [10]
    data.addAll([20, 30])
    print(data)  # [10, 20, 30]