klyn.collections.LinkedListSync.operator+
method
public native static operator+(readonly notnull left as LinkedListSync<T>, readonly notnull right as LinkedListSync<T>) as LinkedListSync<T>
Description

Concatenates two LinkedListSync instances into a new LinkedListSync.

import klyn.collections

data = ls:[10, 20] + ls:[30, 40]
print(data)  # ls:[10, 20, 30, 40]
Parameters
ParameterDescription
leftLeft synchronized linked list.
rightRight synchronized linked list.
Returns

A new LinkedListSync containing both operands in order.