Changed Methods |
int capacity()
|
Documentation changed from old to new. Changed from non-synchronized to synchronized.
|
Returns the current capacity of this vector. |
boolean containsAll(Collection )
|
Documentation changed from old to new. |
Returns true if this Vector contains all of the elements in the specified Collection. |
void copyInto(Object[] )
|
Documentation changed from old to new. |
Copies the components of this vector into the specified array. |
Object get(int )
|
Documentation changed from old to new. |
Returns the element at the specified position in this Vector. |
boolean isEmpty()
|
Changed from non-synchronized to synchronized.
|
Tests if this vector has no components. |
boolean removeAll(Collection )
|
Documentation changed from old to new. |
Removes from this Vector all of its elements that are contained in the specified Collection. |
boolean retainAll(Collection )
|
Documentation changed from old to new. |
Retains only the elements in this Vector that are contained in the specified Collection. |
Object set(int, Object)
|
Documentation changed from old to new. |
Replaces the element at the specified position in this Vector with the specified element. |
int size()
|
Changed from non-synchronized to synchronized.
|
Returns the number of components in this vector. |
List subList(int, int)
|
Changed from non-synchronized to synchronized.
|
Returns a view of the portion of this List between fromIndex inclusive and toIndex exclusive. |
void trimToSize()
|
Documentation changed from old to new. |
Trims the capacity of this vector to be the vector's current size. |
boolean addAll(int, Collection)
|
Documentation changed from old to new. |
Inserts all of the elements in in the specified Collection into this Vector at the specified position. |
boolean addAll(Collection )
|
Documentation changed from old to new. |
Appends all of the elements in the specified Collection to the end of this Vector in the order that they are returned by the specified Collection's Iterator. |
int lastIndexOf(Object )
|
Changed from non-synchronized to synchronized.
|
Returns the index of the last occurrence of the specified object in this vector. |
Object remove(int )
|
Documentation changed from old to new. |
Removes the element at the specified position in this Vector. |
Object[] toArray(Object[] )
|
Documentation changed from old to new. |
Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array. |