W3cubDocs

/Kotlin

mutableListOf

inline fun <T> mutableListOf(): MutableList<T>

Platform and version requirements: Kotlin 1.1

Returns an empty new MutableList.

fun <T> mutableListOf(vararg elements: T): MutableList<T>

Returns a new MutableList with the given elements.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/mutable-list-of.html