Package java.util
Interface List

Public Method remove

abstract Object remove(int index)

abstract boolean remove(Object o)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

remove(int index) method:

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.

remove(Object o) method:

Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element.