Lines Matching defs:Vector

33  * The {@code Vector} class implements a growable array of
36 * {@code Vector} can grow or shrink as needed to accommodate
37 * adding and removing items after the {@code Vector} has been created.
60 * Vector is structurally modified at any time after the enumeration is
75 * implementations, {@code Vector} is synchronized. If a thread-safe
77 * ArrayList} in place of {@code Vector}.
87 public class Vector<E>
96 * <p>Any array elements following the last element in the Vector are null.
103 * The number of valid components in this {@code Vector} object.
134 public Vector(int initialCapacity, int capacityIncrement) {
151 public Vector(int initialCapacity) {
160 public Vector() {
174 public Vector(Collection<? extends E> c) {
366 synchronized (Vector.this) {
371 throw new NoSuchElementException("Vector Enumeration");
601 * is appended to the Vector.)
688 * to the original internal data array of this {@code Vector} object.
695 Vector<E> v = (Vector<E>) super.clone();
706 * Returns an array containing all of the elements in this Vector
716 * Returns an array containing all of the elements in this Vector in the
718 * specified array. If the Vector fits in the specified array, it is
720 * type of the specified array and the size of this Vector.
722 * <p>If the Vector fits in the specified array with room to spare
723 * (i.e., the array has more elements than the Vector),
725 * Vector is set to null. (This is useful in determining the length
726 * of the Vector <em>only</em> if the caller knows that the Vector
731 * @param a the array into which the elements of the Vector are to
734 * @return an array containing the elements of the Vector
737 * Vector
767 * Returns the element at the specified position in this Vector.
783 * Replaces the element at the specified position in this Vector with the
815 * Appends the specified element to the end of this Vector.
817 * @param e element to be appended to this Vector
828 * Removes the first occurrence of the specified element in this Vector
829 * If the Vector does not contain the element, it is unchanged. More
834 * @param o element to be removed from this Vector, if present
835 * @return true if the Vector contained the specified element
843 * Inserts the specified element at the specified position in this Vector.
858 * Removes the element at the specified position in this Vector.
860 * indices). Returns the element that was removed from the Vector.
884 * Removes all of the elements from this Vector. The Vector will
896 * Returns true if this Vector contains all of the elements in the
900 * in this Vector
901 * @return true if this Vector contains all of the elements in the
911 * this Vector, in the order that they are returned by the specified
915 * specified Collection is this Vector, and this Vector is nonempty.)
917 * @param c elements to be inserted into this Vector
918 * @return {@code true} if this Vector changed as a result of the call
940 * Removes from this Vector all of its elements that are contained in the
943 * @param c a collection of elements to be removed from the Vector
944 * @return true if this Vector changed as a result of the call
962 * Retains only the elements in this Vector that are contained in the
963 * specified Collection. In other words, removes from this Vector all
966 * @param c a collection of elements to be retained in this Vector
968 * @return true if this Vector changed as a result of the call
1044 * Vector at the specified position. Shifts the element currently at
1046 * (increases their indices). The new elements will appear in the Vector
1052 * @param c elements to be inserted into this Vector
1053 * @return {@code true} if this Vector changed as a result of the call
1084 * Compares the specified Object with this Vector for equality. Returns
1092 * @param o the Object to be compared for equality with this Vector
1093 * @return true if the specified Object is equal to this Vector
1100 * Returns the hash code value for this Vector.
1107 * Returns a string representation of this Vector, containing
1173 * Saves the state of the {@code Vector} instance to a stream
1250 synchronized (Vector.this) {
1263 synchronized (Vector.this) {
1265 Vector.this.remove(lastRet);
1275 synchronized (Vector.this) {
1321 synchronized (Vector.this) {
1334 synchronized (Vector.this) {
1336 Vector.this.set(lastRet, e);
1342 synchronized (Vector.this) {
1344 Vector.this.add(i, e);
1430 synchronized (Vector.this) {