forEach

inline fun <V> SparseArray<V>.forEach(action: (Int, V) -> Unit)

Performs given action on each key/value pair.