-
size(): Returns the number of elements in the list.
-
contains(Object o): Returns true if the list contains the specified element, false otherwise.
-
add(T item): Adds the specified element to the end of the list.
-
add(T item, int index): Adds the specified element at the specified index in the list.
-
remove(T item): Removes the first occurrence of the specified element from the list, if it exists.
-
remove(int index): Removes the element at the specified index from the list.
-
clear(): Removes all elements from the list.
-
get(int index): Returns the element at the specified index in the list.
-
indexOf(Object o): Returns the index of the first occurrence of the specified element in the list, or -1 if not found.
-
lastIndexOf(Object o): Returns the index of the last occurrence of the specified element in the list, or -1 if not found.