import java.util.*; public class Test { void meth(List<ArrayList<Integer>> p) { ArrayList<Integer> v = p.get(0); } }