ArrayList

expect constructor()(source)
expect constructor(initialCapacity: Int)(source)
expect constructor(elements: Collection<E>)(source)
actual constructor()(source)

Creates an empty ArrayList.


actual constructor(initialCapacity: Int)(source)

Creates an empty ArrayList.

Parameters

initialCapacity

initial capacity (ignored)


actual constructor(elements: Collection<E>)(source)

Creates an ArrayList filled from the elements collection.