arrayListOf

inline fun <T> arrayListOf(): ArrayList<T>(source)

Returns an empty new ArrayList.

Since Kotlin

1.1

Samples


fun <T> arrayListOf(vararg elements: T): ArrayList<T>(source)

Returns a new ArrayList with the given elements.

Since Kotlin

1.0

Samples