set

inline operator fun <T> LongSparseArray<T>.set(key: Long, value: T)
inline operator fun <T> SparseArray<T>.set(key: Int, value: T)
inline operator fun SparseBooleanArray.set(key: Int, value: Boolean)
inline operator fun SparseIntArray.set(key: Int, value: Int)
inline operator fun SparseLongArray.set(key: Int, value: Long)

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