add

Appends the specified element to the end of this list.

Return

true

Parameters

e

element to be appended to this list

open fun add(e: Float): Boolean

Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

Parameters

element

element to be inserted

index

index at which the specified element is to be inserted

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