Overview | Methods | This Package | All Packages
Removes the specified item from the list.
Syntax
public boolean removeItem( Object item )
public Object removeItem( int index )
Parameters
item
The item to remove.
index
The index of the item to remove.
Return Value
The first syntax returns true if the item was removed, or returns false if the item was not found. The second syntax returns the index of the item that was removed.
Exceptions
WFCInvalidArgumentException thrown if the index parameter is greater than the item count or less than zero.