} else if (obj instanceof int[]) {
int[] arr = (int[]) obj;
XLoper[] array = new XLoper[arr.length];
for (int i = 0; i < arr.length; i++) {
array[i] = new XLInt(arr[i]);
}
return new XLArray(array, arr.length, 1);
} else if (obj instanceof int[][]) {
int[][] arr = (int[][]) obj;
if (arr.length == 0 || arr[0] == null)
return XLError.NA;
XLArray array = new XLArray(arr.length, arr[0].length);
for (int i = 0; i < arr.length; i++) {
for (int j = 0; j < arr[0].length && j < arr[i].length; j++) {
array.set(i, j, arr[i][j]);
}
}
return array;
} else if (obj instanceof Integer[]) {
Integer[] arr = (Integer[]) obj;
XLoper[] array = new XLoper[arr.length];
for (int i = 0; i < arr.length; i++) {
array[i] = arr[i] == null ? (XLoper) XLNil.NIL : new XLInt(
arr[i].intValue());
}
return new XLArray(array, arr.length, 1);
} else if (obj instanceof Integer[][]) {