| Modifier and Type | Method and Description |
|---|---|
void |
add(Object o)
Appends the specified element to the end of this Vector
|
Vector |
getObjects()
Obtains the objects that are in the model
|
void |
insertAt(int i,
Object o)
Inserts the specified element at the specified position in this Vector.
|
Object |
remove(int i)
Removes the element at the specified position in this Vector. shifts any
subsequent elements to the left (subtracts one from their indices).
|
addListDataListener, getElementAt, getSize, removeListDataListenerObject remove(int i) throws ArrayIndexOutOfBoundsException
i - Índice del elemento que se quiere eliminarArrayIndexOutOfBoundsException - Si el índice está fuera del arrayvoid insertAt(int i,
Object o)
i - index at which the specified element is to be inserted.o - element to be inserted.void add(Object o)
o - element to be appended to this VectorVector getObjects()