Question: External calling from java

I have problem with externall calling. I need to return from java 2-dimensionall array. In java class it works fine, but I can't find proper definition in Maple, done by define_external function. I tried also return 1-dimensionall array, but there I didn't have problems.

 

My code in java looks like:

public class ConcatTest2{

public static int[][] Test(){

int[]][] ret = new int [2][1];

ret[0][0] = 10;

ret[1][0] = 20;

return ret;

}

 

Thanks for help

 

Please Wait...