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

set

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

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