ArrayList dentro de ArrayList

Eu tenho isso:

List<ArrayList<Integer>> listaDeFora = new ArrayList<ArrayList<Integer>>();

Como faço para exibir no console os Integers que estão dentro do ArrayList que por sua vez está dentro de outro ArrayList?
Obrigado!

Já descobri.

System.out.println("" + listaDeFora.get(0));

hehehe

for (ArrayList&lt;Integer&gt; listaDeDentro : listaDeFora) { for (Integer dado : listaDeDentro) { System.out.print(dado + " "); } System.out.println(); }