{
private static String characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
public XLoper execute(IFunctionContext context, String name, XLoper[] args) throws RequestException {
if (name.equals("RandTest")) {
XLArray x = new XLArray((int) (Math.random() * 10 + 2), 1);
for (int i = 0; i < x.length; i++) {
x.array[i] = makeRandom();
}
return x;
} else if (name.equals("ArrayTest")) {
// Threads.sleep(15000);
XLArray x = new XLArray(15, 10);
for (int i = 0; i < 15; i++) {
int len = (int) (Math.random() * 10) + 1;
for (int j = 0; j < len; j++) {
x.set(i, j, i * j);
}
}
return x;
} else if (name.equals("ArgsTest")) {
return new XLList(args).toXLoper();