set

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

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