Overview | Methods | This Package | All Packages
Sets or replaces the item at the specified index.
Syntax
public void setItem( int index, DhElement e )
Parameters
index
The index at which the item is set. If the index is less than 0 or greater than the length of the list, the item is added to the list.
e
The element to add to the list.
Remarks
If the specified index isn't present in the list, the item is added to the list.