mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
implement a few more classpath methods, including Collection.addAll and Collection.toArray
This commit is contained in:
@ -44,6 +44,10 @@ public class Vector<T> implements List<T> {
|
||||
return list.add(element);
|
||||
}
|
||||
|
||||
public synchronized boolean addAll(Collection<? extends T> collection) {
|
||||
return list.addAll(collection);
|
||||
}
|
||||
|
||||
public void addElement(T element) {
|
||||
add(element);
|
||||
}
|
||||
|
Reference in New Issue
Block a user