open fun set(index: Int, element: Float): Float
Replaces the element at the specified position in this list with the specified element.
index
- Int: index of the element to replace
element
- Float: element to be stored at the specified position
Return
Float: the element previously at the specified position
open fun set(pointIndex: Int, point: FloatArray!): Unit
Replaces the element at the specified position in this list with the specified element.
pointIndex
- Int: index of the element to replace
point
- FloatArray!: element to be stored at the specified position