keyAt

open fun keyAt(index: Int): Int

Given an index in the range 0...size()-1, returns the key from the index th key-value mapping that this SparseFloatArray stores.

The keys corresponding to indices in ascending order are guaranteed to be in ascending order, e.g., keyAt(0) will return the smallest key and keyAt(size()-1) will return the largest key.