Removes the element at the specified position in this list (optional
operation). Shifts any subsequent elements to the left (subtracts one
from their indices). Returns the element that was removed from the
list.
@param index the index of the element to be removed
@return the element previously at the specified position
@throws UnsupportedOperationException if the <tt>remove</tt> operation
is not supported by this list
@throws IndexOutOfBoundsException if the index is out of range
(<tt>index < 0 || index >= size()</tt>)
Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list.
@param index the index of the element to be removed @return the element previously at the specified position @throws UnsupportedOperationException if the <tt>remove</tt> operation is not supported by this list @throws IndexOutOfBoundsException if the index is out of range (<tt>index < 0 || index >= size()</tt>)