set

Replaces the element at the specified position in this list with the specified element.

Return

the element previously at the specified position

Parameters

element

element to be stored at the specified position

index

index of the element to replace

open fun set(index: Int, element: Float): Float

Replaces the element at the specified position in this list with the specified element.

Parameters

point

element to be stored at the specified position

pointIndex

index of the element to replace

open fun set(pointIndex: Int, point: Array<Float>)