indexOfKey

open fun indexOfKey(key: Int): Int

Returns the index for which keyAt would return the specified key, or a negative number if the specified key is not mapped.