removeElementAt()

Remove an element at a particular position in this business object array.

Syntax

void removeElementAt(int index)
 

Notes

After an element is removed from the array, the array resizes, possibly changing the indexes of existing elements.

Parameters

index
The element index.

Exceptions

CollaborationException--The removeElementAt() method can set the following exception type for this exception:

Examples

The following example deletes the sixth business object in the array items.

items.removeElementAt(5);
 

Copyright IBM Corp. 1997, 2003