klyn.collections.ArrayList.operator+
method

    public native static operator+(readonly notnull left as ArrayList<T>, readonly notnull right as ArrayList<T>) as ArrayList<T>

Description

Concatenates two ArrayList instances into a new ArrayList.

    import klyn.collections

    data = [10, 20] + [30, 40]
    print(data)  # [10, 20, 30, 40]

Parameters

Parameter | Description
--- | ---
`left` | Left list.
`right` | Right list.

Returns

A new ArrayList containing both operands in order.