In Java how do you convert a ArrayList into a two dimensional array Object[][]?
From comments: I will describe you the problem with more details: an XML file inclu
public static String[][] convertListIntoArrayObj(List possibilities) { int numberOfColums = 2; int numberOfRows = possibilities.size(); String[][] values = new String[numberOfRows][numberOfColums]; for(int x=0; x