core-ktx / androidx.util / android.util.LongSparseArray / set

set

inline operator fun <T> LongSparseArray<T>.set(key: Long, value: T): Unit

Allows the use of the index operator for storing values in the collection.