klyn.collections.ArrayListSync.addAll
method

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

Description

Appends every element from a read-only list while holding the synchronized storage lock.

Parameters

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

Example

    import klyn.collections

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