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:
@ -25,6 +25,10 @@ public class Arrays {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void add(int index, T element) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public boolean contains(T element) {
|
||||
for (int i = 0; i < array.length; ++i) {
|
||||
if (equal(element, array[i])) {
|
||||
|
Reference in New Issue
Block a user