public LinkedListSync(collection as Collection<T>):
Creates a synchronized list from a collection.
| Parameter | Description |
|---|---|
collection | The collection to copy elements from. |
import klyn.collections source = HashSet<Int>([1, 2, 3]) copy = LinkedListSync<Int>(source)