| public native |
addadd(index as Int, item as T) as Void |
Inserts an element at the requested index. |
| public native |
add add(item as T) as Void
|
Adds an element at the end. |
| public native |
addAlladdAll(index as Int, values as IList<T>) as Void |
Inserts every element from a read-only list at the requested index. |
| public native |
addAlladdAll(index as Int, values as Set<T>) as Void |
Inserts every element from a set at the requested index. |
| public native |
addAlladdAll(index as Int, values as Tuple) as Void |
Inserts every element from a tuple at the requested index. |
| public native |
addAlladdAll(values as IList<T>) as Void |
Appends every element from a read-only list. |
| public native |
addAlladdAll(values as Set<T>) as Void |
Appends every element from a set. |
| public native |
addAlladdAll(values as Tuple) as Void |
Appends every element from a tuple. |
| public native |
clear clear() as Void
|
Removes all elements. |
| public native |
countcount(item as T) as ULong |
Counts occurrences of the given element in the list. |
| public native |
indexOfindexOf(item as T, start as Int = 0) as Int |
Returns the first index of the given element. |
| public native |
join |
Joins elements into a single string using the separator. |
| public native |
lastIndexOflastIndexOf(item as T, start as Int = -1) as Int |
Returns the last index of the given element. |
| public native |
remove |
Removes the first matching element. |
| public native |
removeAtremoveAt(index as Int) as Void |
Removes the element at the requested index. |
| public native |
reverse reverse() as Void
|
Reverses list elements in-place. |
| public native |
reverseNew |
Returns a new reversed list without modifying the original. |
| public native |
shuffle shuffle() as Void
|
Randomly shuffles the list in-place. |
| public native |
sort sort() as Void
|
Sorts the list in ascending order. |
| public native |
sortNew |
Returns a new sorted list without modifying the original. |
| public native |
toString |
Returns a string representation of the list. |