I have some Integers inside of an ArrayList
ArrayList<Integer> al = new AraayList<Integer>();
al.add(100);
al.add(211);
Now I want to split the values in the ArrayList into an array. Suppose 100 is the first value in the ArrayList then the corresponding array should contain 1, 0, 0