mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
API additions for compatibility with harmony's java.util package
This commit is contained in:
@ -148,5 +148,11 @@ public class Arrays {
|
||||
array[i] = value;
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> void fill(T[] array, T value) {
|
||||
for (int i=0;i<array.length;i++) {
|
||||
array[i] = value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user