Mega Code Archive

 
Categories / Java Book / 005 Collection
 

0286 Replace the element at the position

E set(int index, E element) Replaces the element at the specified position in this list with the specified element.