Package java.util
Class Vector

Public Method insertElementAt

void insertElementAt(Object obj, int index)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Inserts the specified object as a component in this vector at the specified index. Each component in this vector with an index greater or equal to the specified index is shifted upward to have an index one greater than the value it had previously.

This method is identical in functionality to the add(Object, int) method (which is part of the List interface). Note that the add method reverses the order of the parameters, to more closely match array usage.