removeAt

abstract fun removeAt(key: K, index: Int): V?

Removes the association from the given key to the value at the given index in the list of existing associations.

Return

The value that was removed. If the given key wasn't associated with any values previously, returns null.

Parameters

key

The key to disassociate

index

The index of the value to disassociate