mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
various classpath updates to help SWT build
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user