Length |
Get the number of elements in the list |
Obtain |
Get the value of the element at the specified index in the list |
Set |
Set the value of the element corresponding to the specified index in the list |
Append |
Append elements to the end of the list |
Remove At |
Remove the element corresponding to the specified index from the list |
New |
Create a list |
Contain |
Check whether a list contains a specified element |
Append Range |
Append multiple elements to the end of the target list |
Remove |
Remove the specified element from the list |
Index Of |
Get the index of the first occurrence of an element in the list. If there is no target element in the list, return -1 |
Last Index Of |
Get the index of the last occurrence of an element in the list. If there is no target element in the list, return -1 |
Clear |
Clear all elements from a list |
Reverse |
Reverse the specified list. The order of elements in the list will be reversed. |
Clone |
Copy a list |
Insert |
Insert a new element at the specified index position in the list. The original elements at and after that index position will move one position backwards one by one |
Shuffle |
Re-arrange the elements in a list |
Is Equal |
Compares whether the elements of two lists are exactly the same. The list capacity does not affect the comparison result. |
Max |
Return the maximum value in a list |
Min |
Returns the minimum value in a list. |