klyn.collections.ArrayListSync.operator+
method

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

Description

Concatenates two ArrayListSync instances into a new ArrayListSync.

    import klyn.collections

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

Parameters

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

Returns

A new ArrayListSync containing both operands in order.