Changes the position the element found at the specified position in the specified vector.
When both fromIndex
and toIndex
are >= 0 and < the vector size,
the function acts the same as the following expression:
v.addElement (
v.removeElement (fromIndex)
toIndex
)
Parameters:
v
Note: The null
value passed in this parameter
will cause doing nothing.
fromIndex
toIndex
Note: When either of the specified indexes is < 0 or >= the vector size, the function does nothing.
null
value) as passed in 'v'
parameter
addElement(), removeElement()