| public native |
addadd(index as Long, 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 Long, values as IList<T>) as Void |
Inserts every element from a read-only list at the requested index. |
| public native |
addAlladdAll(index as Long, values as Set<T>) as Void |
Inserts every element from a set at the requested index. |
| public native |
addAlladdAll(index as Long, 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 Long = 0) as Long |
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 Long = -1) as Long |
Returns the last index of the given element. |
| public native |
remove |
Removes the first matching element. |
| public native |
removeAtremoveAt(index as Long) as Void |
Removes the element at the requested index. |
| public native |
reservereserve(capacity as Long) as Void |
Reserves internal storage for at least the requested number of elements. |
| 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 ArrayList without modifying the original. |
| public override native |
toString |
Returns a string representation of the list. |