Method |
Description |
addElement( )
|
Adds the specified object to the given vector object. |
capacity( )
|
Returns the amount of storage available in the specified vector object. |
clone( )
|
Returns a copy of a vector object. |
contains( )
|
Returns whether the given object is contained in the specified vector object. |
copyInto( )
|
Copies the elements of the specified vector object into the given array object. |
elementAt( )
|
Returns the object at the specified index into the given vector object. |
elements( )
|
Returns an enumeration object of the elements in the specified vector object. |
ensureCapacity( )
|
Increases the capacity, as needed, to the specified amount in the given vector object. |
firstElement( )
|
Returns the first object in the specified vector object. |
indexOf( )
|
Returns the first index into the specified vector object which the given object is found. |
insertElementAt( )
|
Insert the specified object at the given index into the specified vector object. |
isEmpty( )
|
Returns the specified vector object has no object. |
lastElement( )
|
Returns the last object in the specified vector object. |
lastIndexOf( )
|
Returns the last index into the specified vector object which the given object is found. |
removeAllElements( )
|
Removes all the objects in the specified vector object. |
removeElement( )
|
Removes the specified object from the given vector object. |
removeElementAt( )
|
Removes the object at the specified index in the given vector object. |
setElementAt( )
|
Sets the object at the specified index into the given vector object to the specified object. |
setSize( )
|
Sets the specified vector object to the given number of objects. |
size( )
|
Returns the number of objects in the specified vector object. |
toString( )
|
Returns a string representation of the specified vector object. |
trimToSize( )
|
Sets the capacity of the specified vector the its current size. |
Vector( )
|
Returns a news vector object with the specified initial capacity and capacity increment. |