public ArrayList(collection as Collection<T>):
Creates an ArrayList from a collection.
collection
import klyn.collections source = HashSet<Int>([1, 2, 3]) copy = ArrayList<Int>(source)