add java.util.Collection.toArray()

This commit is contained in:
Joel Dice
2009-08-04 17:36:25 -06:00
parent 7911989055
commit 0a7f94abfe
10 changed files with 40 additions and 19 deletions

View File

@ -77,10 +77,6 @@ public class Vector<T> extends AbstractList<T> {
return list.isEmpty();
}
public synchronized <S> S[] toArray(S[] a) {
return list.toArray(a);
}
public void removeElementAt(int index) {
remove(index);
}