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

set

inline operator fun SparseLongArray.set(key: Int, value: Long): Unit

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