如何在java中设置二维对象数组的值。
以下是我的 for 循环:
Object[][] hexgenSecurityInferenceData = null;
for (String methodName: knowGoodMap.keySet()) {
hexgenSecurityInferenceData = new Object[][] {
{
(KnownGoodInfoRO) knowGoodMap.get(methodName), new Object[] {
(MethodPropertiesRO) methodPropertiesMap.get(methodName), (List) methodParametersMap.get(methodName)
}
},
};
}
这仅打印一行数据。我确定我犯了错误adding values to Array of Object but really don't know how to fix.
请帮我解决这个问题