indexGet

fun indexGet(index: Int): Long

Returns the exact value of the existing key. This method makes sense for sets of objects which define custom key-equality relationship.

Return

Returns the equivalent key currently stored in the set.

Parameters

index

The index of an existing key.

See also

.indexOf

Throws

If assertions are enabled and the index does not correspond to an existing key.