copyOf

fun <T> copyOf(list: List<T>): MutableList<T>
fun <K, V> copyOf(map: Map<K, V>): MutableMap<K, V>


fun <T> copyOf(name: String, list: List<T>?): MutableList<T>

Deprecated

Please regenerate code using wire-compiler version 3.0.0 or higher.

Replace with

com.squareup.internal.Internal.copyOf(list)

fun <K, V> copyOf(name: String, map: Map<K, V>?): MutableMap<K, V>

Deprecated

Please regenerate code using wire-compiler version 3.0.0 or higher.

Replace with

com.squareup.internal.Internal.copyOf(map)