size() |
returns number of elements in
list |
isEmpty() |
returns true if the list is empty; false
otherwise |
add(E elem) |
adds given element to end of list |
add(int index, E elem) |
adds given element at specified index list, shifting
later elements |
get(int index) |
returns element at specified index |
set(int index, E elem) |
replaces the element currently at the specified index
with the given element |
remove(E elem) |
finds given element in list and removes it (first
occurrence) |
remove(int index) |
removes element at specified index list, shifting later
elements |