ly.img.android.pesdk.utils / FloatPointList / addAll

addAll

open fun addAll(a: FloatArray!): Boolean

Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified collection is this list, and this list is nonempty.)

Parameters

a - FloatArray!: collection containing elements to be added to this list

Exceptions

NullPointerException - if the specified collection is null

Return
Boolean: true if this list changed as a result of the call

open fun addAll(index: Int, a: FloatArray!): Boolean

Inserts all of the elements in the specified collection into this list, starting at the specified position. Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in the list in the order that they are returned by the specified collection's iterator.

Parameters

index - Int: index at which to insert the first element from the specified collection

a - FloatArray!: collection containing elements to be added to this list

Exceptions

IndexOutOfBoundsException -

NullPointerException - if the specified collection is null

Return
Boolean: true if this list changed as a result of the call