klyn.collections.ArrayListSync.ArrayListSync
constructor
public ArrayListSync(collection as Collection<T>):
Description

Creates a synchronized list from a collection.

Parameters
  • collection The collection to copy elements from. ```klyn import klyn.collections source = HashSet<Int>([1, 2, 3]) copy = ArrayListSync<Int>(source) ```