mutableVectorOf
Source set: Common
@Deprecated(
message = "Use androidx.collection.mutableObjectListOf instead.",
replaceWith =
ReplaceWith("mutableObjectListOf<T>()", "androidx.collection.mutableObjectListOf"),
)
public inline fun <reified T> mutableVectorOf(): MutableVector<T>
Creates an empty MutableVector with a capacity of 16.
mutableVectorOf
Source set: Common
@Deprecated(
message = "Use androidx.collection.mutableObjectListOf instead.",
replaceWith =
ReplaceWith("mutableObjectListOf(*elements)", "androidx.collection.mutableObjectListOf"),
)
public inline fun <reified T> mutableVectorOf(vararg elements: T): MutableVector<T>
Creates a MutableVector with the given values. This will use the passed vararg elements storage.