Sets or replaces the item at the specified index.
public void setItem( int index, DhElement e )
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.
If the specified index isn't present in the list, the item is added to the list.