81 * </blockquote>
82 * @param index an index into this list
83 * @return the component at the specified index
84 * @throws ArrayIndexOutOfBoundsException if the {@code index}
85 * is negative or greater than the current size of this
86 * list
87 * @see #get(int)
88 */
89 public E getElementAt(int index) {
90 return delegate.elementAt(index);
91 }
92
93 /**
94 * Copies the components of this list into the specified array.
95 * The array must be big enough to hold all the objects in this list,
96 * else an {@code IndexOutOfBoundsException} is thrown.
97 *
98 * @param anArray the array into which the components get copied
99 * @see Vector#copyInto(Object[])
100 */
101 public void copyInto(Object anArray[]) {
102 delegate.copyInto(anArray);
103 }
104
105 /**
106 * Trims the capacity of this list to be the list's current size.
107 *
108 * @see Vector#trimToSize()
109 */
110 public void trimToSize() {
111 delegate.trimToSize();
112 }
113
114 /**
115 * Increases the capacity of this list, if necessary, to ensure
116 * that it can hold at least the number of components specified by
117 * the minimum capacity argument.
118 *
119 * @param minCapacity the desired minimum capacity
120 * @see Vector#ensureCapacity(int)
121 */
|
81 * </blockquote>
82 * @param index an index into this list
83 * @return the component at the specified index
84 * @throws ArrayIndexOutOfBoundsException if the {@code index}
85 * is negative or greater than the current size of this
86 * list
87 * @see #get(int)
88 */
89 public E getElementAt(int index) {
90 return delegate.elementAt(index);
91 }
92
93 /**
94 * Copies the components of this list into the specified array.
95 * The array must be big enough to hold all the objects in this list,
96 * else an {@code IndexOutOfBoundsException} is thrown.
97 *
98 * @param anArray the array into which the components get copied
99 * @see Vector#copyInto(Object[])
100 */
101 public void copyInto(Object[] anArray) {
102 delegate.copyInto(anArray);
103 }
104
105 /**
106 * Trims the capacity of this list to be the list's current size.
107 *
108 * @see Vector#trimToSize()
109 */
110 public void trimToSize() {
111 delegate.trimToSize();
112 }
113
114 /**
115 * Increases the capacity of this list, if necessary, to ensure
116 * that it can hold at least the number of components specified by
117 * the minimum capacity argument.
118 *
119 * @param minCapacity the desired minimum capacity
120 * @see Vector#ensureCapacity(int)
121 */
|