Gets the quick access key. This function is used to optimized accessing data from SparseArray. Caller can determine whether the data exists in SparseArray without transfering default data.
public int GetQuickAccessKey(
int
)
Parameters
- index
- An integer value indicates the element's index.
Return Value
An integer value represents the quick access key. Negative value indicates that the element isn't available.