various classpath updates to help SWT build

This commit is contained in:
Joel Dice
2007-08-30 17:31:32 -06:00
parent 8b102783a6
commit a4b4f36c5b
14 changed files with 358 additions and 16 deletions

View File

@ -39,14 +39,30 @@ public class Vector<T> implements List<T> {
return list.remove(index);
}
public T removeElementAt(int index) {
return remove(index);
}
public synchronized boolean remove(T element) {
return list.remove(element);
}
public boolean removeElement(T element) {
return remove(element);
}
public synchronized void clear() {
list.clear();
}
public synchronized int indexOf(T element) {
return list.indexOf(element);
}
public synchronized int lastIndexOf(T element) {
return list.lastIndexOf(element);
}
public synchronized void copyInto(Object[] array) {
for (int i = 0; i < size(); ++i) {
array[i] = list.get(i);