Here you can find the source of printIntegerArrayList(ArrayList
public static void printIntegerArrayList(ArrayList<Integer[]> arr)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.Arrays; public class Main { public static void printIntegerArrayList(ArrayList<Integer[]> arr) { for (int i = 1; i <= arr.size(); i++) { System.out.print(Arrays.toString(arr.get(i - 1)) + " "); if (i % 10 == 0) { System.out.println(); }/* w w w .jav a2 s . c om*/ } } }