add
Adds the specified element to the end of this list.
Return true
because the list is always modified as the result of this operation.
Inserts an element into the list at the specified index.
Adds the specified element to the end of this list.
Return true
because the list is always modified as the result of this operation.
Inserts an element into the list at the specified index.