set

operator fun set(index: Int, element: T): T

Sets the value at index to element.