result的数据结构为List<Map<String,Object>> //将List转换为二维数组String[][] String[][] z = new String[result.size()][]; for(int i=0;i<z.length;i++){ Map m = (Map)result.get(i); Set set = m.keySet(); z[i] = new String[m.size()]; Iterator it =set.iterator(…
将String类型的二维数组中的元素用FileOutputStream的write方法生成一个文件import java.io.File;import java.io.FileOutputStream;public class Test {protected static String tmpString[][]={{"头目:蛇怪","建议级别:12级","推荐武器:苏格兰斩剑","建议直接使用初始给予","的…