Package Summary Overview Summary

### method:toArray() [CHANGED]
### toArray public Object[] toArray() Returns an array containing all of the elements in this Vector in the correct order. Specified by: `toArray` in interface `Collection<E>` Specified by: `toArray` in interface `List<E>` Overrides: `toArray` in class `AbstractCollection<E>` Returns: an array, whose runtime component type is `Object`, containing all of the elements in this list in proper sequencecollection Since: 1.2 See Also: `Arrays.asList(Object[])`
### toArray public Object[] toArray() Returns an array containing all of the elements in this Vector in the correct order. Specified by: `toArray` in interface `Collection<E>` Specified by: `toArray` in interface `List<E>` Overrides: `toArray` in class `AbstractCollection<E>` Returns: an array containing all of the elements in this list in proper sequence Since: 1.2 See Also: `Arrays.asList(Object[])` | ### toArray public Object[] toArray() Returns an array containing all of the elements in this Vector in the correct order. Specified by: `toArray` in interface `Collection<E>` Specified by: `toArray` in interface `List<E>` Overrides: `toArray` in class `AbstractCollection<E>` Returns: an array, whose runtime component type is `Object`, containing all of the elements in this collection Since: 1.2 See Also: `Arrays.asList(Object[])`

### method:containsAll(java.util.Collection) [CHANGED]
### containsAll public boolean containsAll (Collection<?> c) Returns true if this Vector contains all of the elements in the specified Collection. Specified by: `containsAll` in interface `Collection<E>` Specified by: `containsAll` in interface `List<E>` Overrides: `containsAll` in class `AbstractCollection<E>` Parameters: `c` - a collection whose elements will be tested for containment in this Vector Returns: true if this Vector contains all of the elements in the specified collection Throws: `NullPointerException` - if the specified collection is null See Also: `ListAbstractCollection.contains(Object)`
### containsAll public boolean containsAll (Collection<?> c) Returns true if this Vector contains all of the elements in the specified Collection. Specified by: `containsAll` in interface `Collection<E>` Specified by: `containsAll` in interface `List<E>` Overrides: `containsAll` in class `AbstractCollection<E>` Parameters: `c` - a collection whose elements will be tested for containment in this Vector Returns: true if this Vector contains all of the elements in the specified collection Throws: `NullPointerException` - if the specified collection is null See Also: `List.contains(Object)` | ### containsAll public boolean containsAll (Collection<?> c) Returns true if this Vector contains all of the elements in the specified Collection. Specified by: `containsAll` in interface `Collection<E>` Specified by: `containsAll` in interface `List<E>` Overrides: `containsAll` in class `AbstractCollection<E>` Parameters: `c` - a collection whose elements will be tested for containment in this Vector Returns: true if this Vector contains all of the elements in the specified collection Throws: `NullPointerException` - if the specified collection is null See Also: `AbstractCollection.contains(Object)`

### method:addAll(java.util.Collection) [CHANGED]
### addAll public boolean addAll (Collection<? extends E> c) 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. The behavior of this operation is undefined if the specified Collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified Collection is this Vector, and this Vector is nonempty.) Specified by: `addAll` in interface `Collection<E>` Specified by: `addAll` in interface `List<E>` Overrides: `addAll` in class `AbstractCollection<E>` Parameters: `c` - elements to be inserted into this Vector Returns: `true` if this Vector changed as a result of the call Throws: `NullPointerException` - if the specified collection is null Since: 1.2 See Also: `ListAbstractCollection.add(Object)`
### addAll public boolean addAll (Collection<? extends E> c) 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. The behavior of this operation is undefined if the specified Collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified Collection is this Vector, and this Vector is nonempty.) Specified by: `addAll` in interface `Collection<E>` Specified by: `addAll` in interface `List<E>` Overrides: `addAll` in class `AbstractCollection<E>` Parameters: `c` - elements to be inserted into this Vector Returns: `true` if this Vector changed as a result of the call Throws: `NullPointerException` - if the specified collection is null Since: 1.2 See Also: `List.add(Object)` | ### addAll public boolean addAll (Collection<? extends E> c) 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. The behavior of this operation is undefined if the specified Collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified Collection is this Vector, and this Vector is nonempty.) Specified by: `addAll` in interface `Collection<E>` Specified by: `addAll` in interface `List<E>` Overrides: `addAll` in class `AbstractCollection<E>` Parameters: `c` - elements to be inserted into this Vector Returns: `true` if this Vector changed as a result of the call Throws: `NullPointerException` - if the specified collection is null Since: 1.2 See Also: `AbstractCollection.add(Object)`

### method:removeAll(java.util.Collection) [CHANGED]
### removeAll public boolean removeAll (Collection<?> c) Removes from this Vector all of its elements that are contained in the specified Collection. Specified by: `removeAll` in interface `Collection<E>` Specified by: `removeAll` in interface `List<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be removed from the Vector Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `ListAbstractCollection.remove(Object)` `ListAbstractCollection.contains(Object)`
### removeAll public boolean removeAll (Collection<?> c) Removes from this Vector all of its elements that are contained in the specified Collection. Specified by: `removeAll` in interface `Collection<E>` Specified by: `removeAll` in interface `List<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be removed from the Vector Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `List.remove(Object)` `List.contains(Object)` | ### removeAll public boolean removeAll (Collection<?> c) Removes from this Vector all of its elements that are contained in the specified Collection. Specified by: `removeAll` in interface `Collection<E>` Specified by: `removeAll` in interface `List<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be removed from the Vector Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `AbstractCollection.remove(Object)` `AbstractCollection.contains(Object)`

### method:retainAll(java.util.Collection) [CHANGED]
### retainAll public boolean retainAll (Collection<?> c) Retains only the elements in this Vector that are contained in the specified Collection. In other words, removes from this Vector all of its elements that are not contained in the specified Collection. Specified by: `retainAll` in interface `Collection<E>` Specified by: `retainAll` in interface `List<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be retained in this Vector (all other elements are removed) Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `ListAbstractCollection.remove(Object)` `ListAbstractCollection.contains(Object)`
### retainAll public boolean retainAll (Collection<?> c) Retains only the elements in this Vector that are contained in the specified Collection. In other words, removes from this Vector all of its elements that are not contained in the specified Collection. Specified by: `retainAll` in interface `Collection<E>` Specified by: `retainAll` in interface `List<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be retained in this Vector (all other elements are removed) Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `List.remove(Object)` `List.contains(Object)` | ### retainAll public boolean retainAll (Collection<?> c) Retains only the elements in this Vector that are contained in the specified Collection. In other words, removes from this Vector all of its elements that are not contained in the specified Collection. Specified by: `retainAll` in interface `Collection<E>` Specified by: `retainAll` in interface `List<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - a collection of elements to be retained in this Vector (all other elements are removed) Returns: true if this Vector changed as a result of the call Throws: `ClassCastException` - if the types of one or more elements in this vector are incompatible with the specified collection (optional) `NullPointerException` - if this vector contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null Since: 1.2 See Also: `AbstractCollection.remove(Object)` `AbstractCollection.contains(Object)`

### method:equals(java.lang.Object) [CHANGED]
### equals public boolean equals (Object o) Compares the specified Object with this Vector for equality. Returns true if and only if the specified Object is also a List, both Lists have the same size, and all corresponding pairs of elements in the two Lists are equal. (Two elements `e1` and `e2` are equal if `Objects.equals(e1, e2)` .) In other words, two Lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `AbstractList<E>` Parameters: `o` - the Object to be compared for equality with this Vector Returns: true if the specified Object is equal to this Vector See Also: `Object.equals(Object)` `Set.equals(Object)` `List.equals(Object)`hashCode() `HashMap`
### equals public boolean equals (Object o) Compares the specified Object with this Vector for equality. Returns true if and only if the specified Object is also a List, both Lists have the same size, and all corresponding pairs of elements in the two Lists are equal. (Two elements `e1` and `e2` are equal if `Objects.equals(e1, e2)` .) In other words, two Lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `AbstractList<E>` Parameters: `o` - the Object to be compared for equality with this Vector Returns: true if the specified Object is equal to this Vector See Also: `Object.equals(Object)` `Set.equals(Object)` `List.equals(Object)` | ### equals public boolean equals (Object o) Compares the specified Object with this Vector for equality. Returns true if and only if the specified Object is also a List, both Lists have the same size, and all corresponding pairs of elements in the two Lists are equal. (Two elements `e1` and `e2` are equal if `Objects.equals(e1, e2)` .) In other words, two Lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `AbstractList<E>` Parameters: `o` - the Object to be compared for equality with this Vector Returns: true if the specified Object is equal to this Vector See Also: `Object.hashCode()` `HashMap`

### method:hashCode() [CHANGED]
### hashCode public int hashCode() Returns the hash code value for this Vector. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `AbstractList<E>` Returns: the hash code value for this list See Also: `Object.equals(java.lang.Object)` `List.equals(System.identityHashCode(java.lang.Object)`
### hashCode public int hashCode() Returns the hash code value for this Vector. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `AbstractList<E>` Returns: the hash code value for this list See Also: `Object.equals(Object)` `List.equals(Object)` | ### hashCode public int hashCode() Returns the hash code value for this Vector. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `AbstractList<E>` Returns: the hash code value for this list See Also: `Object.equals(java.lang.Object)` `System.identityHashCode(java.lang.Object)`