我正在尝试将二维数组作为 MPJ 库中的对象传递,但在这一行出现错误
Object sendobject = new Object[1];
sendobject[0] = (Object)g.adjMatrix;
//Graph g = new Graph();
// adjmatrix is public member of class Graph having detail of
// connecting nodes to each other
我目前遵循这个博客的例子。