mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
List now implements various forms of add()
This commit is contained in:
@ -26,6 +26,10 @@ public class Vector<T> implements List<T> {
|
||||
return list.contains(element);
|
||||
}
|
||||
|
||||
public synchronized void add(int index, T element) {
|
||||
list.add(index, element);
|
||||
}
|
||||
|
||||
public synchronized boolean add(T element) {
|
||||
return list.add(element);
|
||||
}
|
||||
|
Reference in New Issue
Block a user